swig
PyPy - SWIG - QuickFix mix
PyPy has some compatibility limitations, especially regarding the CPython C API. I use QuickFix package which comes with precompiled SWIG bindings, and I\'m considering using it with PyPy. As I am no[详细]
2023-03-17 18:03 分类:问答C++ callback with python through SWIG when the function takes non-trivial arguments?
I just read the following section of the \"SWIG and Python\" tutorial: http://www.swig.org/Doc1.1/HTML/Python.html#n11[详细]
2023-03-17 00:02 分类:问答Why SWIG requires helper functions to deal with array?
Quoted from here: Ideally, a user might want to pass Perl arrays as arguments as follows: @a = (10,20,30,40);[详细]
2023-03-16 03:11 分类:问答Getting 6 errors when compiling the wrapper module output by SWIG?
gcc -fpic -c gd_wrap.c -Dbool=char -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE: In file included from /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/op.h:499,[详细]
2023-03-15 12:24 分类:问答Extending SWIG builtin classes
The -builtin option of SWIG has the advantage of being faster, and of being exempt of a bug with multiple inheritance.[详细]
2023-03-15 09:47 分类:问答Swig c++/c# keep getting "Type Initialized Exception"
I am currently creating my first swig project. I have some c++ code, where i am using 1 of the classes functions in my c# UI. I have created a .i file that looks something like this:[详细]
2023-03-14 18:44 分类:问答JNI_OnLoad error: Unable to find decl for native function with signature ()Ljava/lang/String
I\'m currently using SWIG/jni to call C++ functions from java for an Android app. However, I\'m having difficulty whenever the function returns a jstring. I get the following errors in LogCat upon app[详细]
2023-03-14 16:23 分类:问答jni callback works for java types, but not c types
I have followed the advice at registering java function as a callback in C function and can callback with \"simple\" types such as integer and string, e.g.:[详细]
2023-03-13 23:15 分类:问答SWIG error: Syntax Error in input(1)
I\'m getting theSyntax Error in input(1) error for this line of code, in C when I do: swig -python myfile.i in console.[详细]
2023-03-13 17:37 分类:问答How to use C++ optimization flags in SWIG?
I am creating a python module that is implemented in C++.I am using SWIG to create the interface.There are various ways to create the extension, I\'m using the \"preferred approach,\" which is via pyt[详细]
2023-03-13 06:43 分类:问答