1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
VILLASnode/clients/python-wrapper
KeVteL 57cd42c85c Updated Wrapper Bindings:
Added "Array" class to hold multiple samples and be able to use
node_read() and node_write() properly in python.
The "Array" class decref's samples stored automatically during setting
values in python or the object being destroyed.:

Included node.h properly so that the bindings can be linked to
libvillas.so.
Now functions, if not required to have a different
implementation use the node_capi.cpp implementations directly.

Removed unnecessary type-casting functions.

node_new() checks for whether or not a name is provided and creates a
node accordingly.

fixed a memory leak in node_to_json_str().

node_to_json() and node_to_json_str(), right now do the same.
To do: update node_to_json() to return the type that would be returned
by the python json library.

Signed-off-by: Kevin Vu te Laar <vu.te@rwth-aachen.de>
2025-01-27 14:26:00 +01:00
..
CMakeLists.txt Python-Wrapper added 2025-01-27 14:26:00 +01:00
villas-python-wrapper.cpp Updated Wrapper Bindings: 2025-01-27 14:26:00 +01:00