It looks like you're new here. If you want to get involved, click one of these buttons!
I've been running into a lot of these in a library I'm experimenting with and it's pretty clear that Kludge currently doesn't understand this flavor of typedef.
Is there a way to wrap these manually or is this something that's not unsupported by kl?
UPDATE: Per this post; forums.fabricengine.com/discussion/963/function-pointers
they most likely aren't supported, because even though a function type is not a function, you assign user defined functions to them by using function-pointers.
If interested here's a pseudo code example (Based on a true story )
typedef void aCallback(void *data, aObj o1, aObj o2);
ext.add_alias('aCallback', 'void (void *, aObj, aObj)')
generate's warning message
Warning: Ignoring alias 'aCallback': void (void *, aObj, aObj): unhandled C++ type expression (details: Expected end of text (at char 5), (line:1, col:6))
©Copyright 2017 Fabric Software Inc. All rights reserved. | Privacy