8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a221563 commit 037022bCopy full SHA for 037022b
matplotlibcpp.h
@@ -72,15 +72,19 @@ namespace matplotlibcpp {
72
}
73
74
private:
75
+#ifndef WITHOUT_NUMPY
76
#if PY_MAJOR_VERSION >= 3
- int import_numpy() {
77
+ void *import_numpy() {
78
import_array(); // initialize C-API
79
+ return NULL;
80
81
#else
82
void import_numpy() {
83
84
85
#endif
86
+#endif
87
+
88
_interpreter() {
89
90
// optional but recommended
0 commit comments