Skip to content

libo for Python 3 Swig not working with expression evaluation / function calls #31

@annonymmous

Description

@annonymmous

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions