Commit 0c2cc2a2 authored by dalcinl's avatar dalcinl

Fix C++ wrap tests by cincluding the *.cpp source

parent 2e3bcd4b
#ifndef CPP_OVERLOAD_WRAPPER_LIB_H
#define CPP_OVERLOAD_WRAPPER_LIB_H
void voidfunc(void);
double doublefunc (double a, double b, double c);
......@@ -20,3 +21,4 @@ public:
};
double transmogrify_from_cpp (DoubleKeeper const *obj, double value);
#endif
cdef extern from "cpp_overload_wrapper_lib.cpp":
pass
cdef extern from "cpp_overload_wrapper_lib.h":
void voidfunc()
double doublefunc(double a, double b, double c)
......
#ifndef CPPWRAP_LIB_H
#define CPPWRAP_LIB_H
void voidfunc(void);
double doublefunc (double a, double b, double c);
......@@ -18,3 +19,4 @@ public:
};
double transmogrify_from_cpp (DoubleKeeper const *obj, double value);
#endif
cdef extern from "cppwrap_lib.cpp":
pass
cdef extern from "cppwrap_lib.h":
void voidfunc()
double doublefunc(double a, double b, double c)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment