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.
While using these bindings I couldn't get
findIncludesInFiles
to work, I just received aCXResult_Invalid
. Turns out the procedure in theCXCursorAndRangeVisitor
objects needs to be declared as a{.cdecl.}
. This would likely apply to all such callbacks.