Salome HOME
Agressive Windows porting
[tools/py2cpp.git] / src / PyFunction.hxx
index b110c24b801cc139af42cf567393b9e9db206542..39a6f128d1f4dceae10a99fb94e765b1c2d50607 100644 (file)
@@ -18,6 +18,8 @@
 //
 #ifndef PY2CPP_FUNCTIONCALLS_HXX
 #define PY2CPP_FUNCTIONCALLS_HXX
+
+#include "py2cppExports.hxx"
 #include <Python.h>
 #include <tuple>
 #include "TypeConversions.hxx"
@@ -25,7 +27,7 @@
 
 namespace py2cpp
 {
-class PyFunction : public PyPtr
+class PY2CPP_EXPORT PyFunction : public PyPtr
 {
 public:
   /*! Load a callable object from a python module.*/