Cdecl required for callback procedure
Closed this issue · 1 comments
PMunch commented
While using these bindings I couldn't get findIncludesInFiles
to work, I just received a CXResult_Invalid
. Turns out the procedure in the CXCursorAndRangeVisitor
objects needs to be declared as a {.cdecl.}
. This would likely apply to all such callbacks.
PMunch commented
Had similar issues with CXCursorVisitor
.