I've compiled libo from source and then created Swig and wrapped code for Python 3 and C integration.
Creating atoms, messages and bundles works well. Also the parsing of more complex bundles directly from strings.
While the parsing and serialization of bundles and expressions works the evaluation of expressions does not.
The given osc_expr_test.c file uses commands that don't exist anymore. E.g.:" osc_expr_funcall(f, &sbndl_len, &ser_bundle, &out)"
When trying to call directly into the newer: "osc_expr_eval(function, len, oscbndl, out, context)" from within Python 3 it results in Swig type errors. Especially concerning long * and the dereferencing of double pointer constructs.
Therefore, my question. Is there any newer refernce code (or any code at all) existing for usage examples of evalutaing odot expressions from within Python?
Hi,
I've compiled libo from source and then created Swig and wrapped code for Python 3 and C integration. Creating atoms, messages and bundles works well. Also the parsing of more complex bundles directly from strings.
While the parsing and serialization of bundles and expressions works the evaluation of expressions does not. The given osc_expr_test.c file uses commands that don't exist anymore. E.g.:" osc_expr_funcall(f, &sbndl_len, &ser_bundle, &out)"
When trying to call directly into the newer: "osc_expr_eval(function, len, oscbndl, out, context)" from within Python 3 it results in Swig type errors. Especially concerning long * and the dereferencing of double pointer constructs.
Therefore, my question. Is there any newer refernce code (or any code at all) existing for usage examples of evalutaing odot expressions from within Python?
Thanks,
Tom