how to create wrapper for c/cpp structure member holding pointer to another structure #4036
Replies: 2 comments 1 reply
-
@soundarsurya it would be better to create open Github repository. Passing around code (or anything in that matter) with zip files is not viewed as safe and secure. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to write python wrapper API, in my case i want to pass structure pointer as API argument. In real case it is more complex.
Attached my sample code implementation
py_wrapper_impl.zip
Readme
api.cpp -> user exposed api
core.cpp -> middle level api
implemenmtation.cpp -> actually implementation of function
build
rm -rf build
mkdir build && cd build
cmake ..
make
Kindly help to create wrapper for my case asap.
Beta Was this translation helpful? Give feedback.
All reactions