autocxx icon indicating copy to clipboard operation
autocxx copied to clipboard

Workarounds for Pointer to another pointer?

Open DDRBoxman opened this issue 2 years ago • 0 comments

Describe the bug Currently when generating bindings autocxx can't handle double pointers:

autocxx bindings couldn't be generated: Problem handling function argument deckLinkInstance: Pointer pointed to another pointer, which is not yet supported

To Reproduce I have a repo here playing around with the decklink sdk and autocxx that throws the error on bindgen https://github.com/DDRBoxman/decklink-autocxx/

This line causes the issue: https://github.com/DDRBoxman/decklink-autocxx/blob/823da4401e9a3225a393bbfcfa4a729399a38bc7/decklink/Mac/include/DeckLinkAPI.h#L790

Expected behavior

There should be a way to get double pointers back

Additional context

DDRBoxman avatar Feb 06 '24 01:02 DDRBoxman