We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
The current bind code is:
EMSCRIPTEN_BINDINGS(nativium_core_application_core) { em::class_<::nativium::core::ApplicationCore>("ApplicationCore") .smart_ptr<std::shared_ptr<::nativium::core::ApplicationCore>>("ApplicationCore") .function("nativeDestroy", &NTVCoreApplicationCore::nativeDestroy) .class_function("shared", NTVCoreApplicationCore::shared) .function("multiply", NTVCoreApplicationCore::multiply) .function("getVersion", NTVCoreApplicationCore::getVersion) ; }
But on documentation, all functions need have the & symbol.
&
See on documentation: https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html#classes
Can we change to this?
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
The current bind code is:
But on documentation, all functions need have the
&
symbol.See on documentation:
https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html#classes
Can we change to this?
Thanks.
The text was updated successfully, but these errors were encountered: