swig
returning an array from C to Java with SWIG
I have a C function like this: void get_data(const obj_t *obj, short const **data, int *data_len); I wrote it like this specifically for Swig, since[详细]
2023-04-05 23:02 分类:问答Creating a Python wrapper for my algorithm which uses Opencv 2.3
I am looking to wrap a c++ class which implements an algorithm I wrote using Opencv 2.3. I am aware that there is python wrappers for opencv as a whole but what I need is to wrap my own code which use[详细]
2023-04-05 05:03 分类:问答What is the current state of BDD in C++?
So I found a few older questions asking about BDD frameworks for C++. CppSpec was recommended as a BDD-style framework, but the framework is not nearly as elegant as RSpec or even googletest.[详细]
2023-04-05 03:52 分类:问答C++ API in Python - SWIG, Redesign, or Message Passing
Ok, quick, and hopefully easy question here... I have a large C++ API that is basically a sockets API with a top level XML type protocol.This is a distributed source package from a company.All of the[详细]
2023-04-03 19:16 分类:问答How do I use SWIG typemaps to marshall structure members from C++ to C# using P/Invoke?
Given the following SWIG interface definition: %module example %include \"arrays_csharp.i\" %apply int INOUT[] {int *x}[详细]
2023-04-02 20:33 分类:问答Is there a way to control visibility of the SWIG generated JNI class?
By default, SWIG generates the JNI class with public visibility.Is there a way to specify that the JNI class is only accessible within th开发者_StackOverflow社区e package? I found a solution.The follo[详细]
2023-04-02 16:36 分类:问答TTY ,SWIG and PHP
Need some help here. I have a c++ library for communicating with an embedded module (ArchLinux) via tty. This library was compiled/converted into php using swig.[详细]
2023-04-01 08:53 分类:问答java packages prefix with swig
I\'m generating code in java using SWIG. One of the generated class belongs to a package (my.block.myint). And one of the generated method looks like this:[详细]
2023-03-31 23:09 分类:问答Swig-generated Constants in Python
I\'m using SWIG to create a Python interface to my C++ class library. I can\'t work out how to utilise the constants created by SWIG in Python.I can\'t even print their value.[详细]
2023-03-31 20:40 分类:问答Which is better for performance - using php-qt or writing custom php extensions for c++ using swig?
I\'m writing a php web application using Yii and need to use C++ (will use Qt-Core) for some performance critical parts. I have two optio开发者_如何学Cns:[详细]
2023-03-31 12:54 分类:问答