-
OCC has a nasty way of adding code to a class like with a macro DEFINE_STANDARD_ALLOC like this:
I've tried to skip this, but I can figure out a regexp that would not also skip everything starting from next
|
Beta Was this translation helpful? Give feedback.
Answered by
saudet
Jan 31, 2022
Replies: 1 comment 3 replies
-
We can redefine macros as explained here: infoMap.put(new Info("DEFINE_STANDARD_ALLOC").cppText("#define DEFINE_STANDARD_ALLOC void somename(){}")); |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
saudet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We can redefine macros as explained here:
https://github.com/bytedeco/javacpp/wiki/Mapping-Recipes#redefining-the-code-of-a-macro
In this case, something like this should work: