![]() |
Rosetta
2021.16
|
This is an example of how you might make python bindings for a simple cpp struct.
#include lines a. They must use <> not ""--bind.soThere are two examples, one that builds the bindings using a simple bash script, and another that builds the bindings using cmake. The final lines of each script also import the test_struct module and prints a variable of it.
1.8.7