function pointers?

scaronscaron Fabric for Houdini Posts: 171

Does Kludge/Fabric Core support function pointers?

Comments

  • borjaborja Administrator, Fabric Employee Posts: 480 admin

    We don't support them. They are pointers and as so they could be wrapped but in KL it is not possible to pass KL functions through.

    Borja Morales
    Technical Product Manager
    Fabric Software Inc.

  • scaronscaron Fabric for Houdini Posts: 171

    OK, so Arnold has AiMsgSetCallback that I am trying to provide support for. In earlier versions of my extension I just skipped it, but I was hoping kludge provided some new functionality in this area. Anyways, I can work around it by using Arnold's python bindings since this is probably more appropriate for redirecting logs to a QWidget anyways.

    You say I could wrap this some how but it isn't clear to me... maybe it could be done as an KL interface? Also, as kludge matures an example could be added? I am sure Arnold isn't the only API using function pointers as callbacks.

  • borjaborja Administrator, Fabric Employee Posts: 480 admin

    Hi Steven

    I am passing this to the dev team to see if they can put some light here in this perfectly valid scenario :)

    Borja Morales
    Technical Product Manager
    Fabric Software Inc.

Sign In or Register to comment.