EMSCRIPTEN_BINDINGS(module), what does the module parameter do? #20202
-
When I put all the embind code into one module or into different modules according to different classes, it doesn't make a difference.What are the best practices? |
Beta Was this translation helpful? Give feedback.
Answered by
sbc100
Sep 7, 2023
Replies: 1 comment
-
It doesn't mean anything, it just gives the auto-generator constructor function a unique name. You can't use the same name twice in the same file, but otherwise you can put whatever you want there that is valid in a C identifier. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
frank-pian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It doesn't mean anything, it just gives the auto-generator constructor function a unique name. You can't use the same name twice in the same file, but otherwise you can put whatever you want there that is valid in a C identifier.