morfeuszpy3.i
658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// XXX
// set module name with preprocessor
// because Mac OS X doesn't seem to recognize jniclassname option
#ifdef SWIGJAVA
%module(allprotected="1") MorfeuszWrapper
#else
%module(allprotected="1") morfeusz2
%{
#define Py_LIMITED_API 0x030A0000 // Wsparcie od Pythona 3.10 wzwyż
#include <Python.h>
%}
#endif
//%feature("autodoc", "2");
%{
#include "morfeusz2.h"
#include "MorfeuszImpl.hpp"
#include <vector>
#include <list>
%}
#ifdef SWIGJAVA
%include "morfeusz_java.i"
#endif
#ifdef SWIGPYTHON
%include "morfeusz_python3.i"
#endif
#ifdef SWIGPERL
%include "morfeusz_perl.i"
#endif
%include "morfeusz_common.i"
%include "../morfeusz2.h"