Skip to content

Commit ed8b5f2

Browse files
committed
core: fix missing PYCPPAD_DLLAPI
1 parent 61352a0 commit ed8b5f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/pycppad/cppad.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
#ifndef __pycppad_cppad_hpp__
66
#define __pycppad_cppad_hpp__
77

8+
#include "pycppad/fwd.hpp"
89

910
namespace pycppad
1011
{
1112

1213
template<typename Scalar>
1314
void exposeCppADScalar();
1415

15-
void enablePyCppAD();
16+
PYCPPAD_DLLAPI void enablePyCppAD();
1617
}
1718

1819
#endif // #ifndef __pycppad_cppad_hpp__

src/cppad.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include "pycppad/cppad.hpp"
1010
#include "pycppad/cppad-scalar.hpp"
1111

12-
1312
namespace pycppad
1413
{
1514

0 commit comments

Comments
 (0)