-
Hi @saudet , I am doing a translation of mp4v2 on Android.
I just used
to skip it. Is that correct? My whole map function goes like this:
It seems the Parser and Compiler Gradle tasks work well now. I simply don't know if it works for this translation. Lance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
We shouldn't need to do anything special for default arguments, they get mostly ignored by default, but if you want to redefine a macro, what we need to do is shown on this page: https://github.com/bytedeco/javacpp/wiki/Mapping-Recipes#redefining-the-code-of-a-macro Specifically in this case: infoMap.put(new Info("DEFAULT").cppText("#define DEFAULT(x)")); |
Beta Was this translation helpful? Give feedback.
-
I tried your approach. I seemed that didn't work.
got translated as:
Anything wrong? |
Beta Was this translation helpful? Give feedback.
We shouldn't need to do anything special for default arguments, they get mostly ignored by default, but if you want to redefine a macro, what we need to do is shown on this page: https://github.com/bytedeco/javacpp/wiki/Mapping-Recipes#redefining-the-code-of-a-macro
Specifically in this case: