Skip to content

Cannot use functors when exposing functions #8798

@hkleynhans

Description

@hkleynhans

I have a requirement to pass functors when registering functions (and anything else which accepts a function pointer) using embind. At the moment embind accepts pointers to functions and non-capturing lambdas, but nothing which contains state.

Possibly related to: #1914

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions