mirror of https://github.com/swig/swig
16 lines
292 B
OpenEdge ABL
16 lines
292 B
OpenEdge ABL
// Test swig_runtime_data with and without -builtin
|
|
|
|
%module python_runtime_data_builtin
|
|
|
|
%inline %{
|
|
#ifdef SWIGPYTHON_BUILTIN
|
|
bool is_python_builtin() { return true; }
|
|
#else
|
|
bool is_python_builtin() { return false; }
|
|
#endif
|
|
%}
|
|
|
|
%include std_vector.i
|
|
|
|
%template(vectord) std::vector<double>;
|