You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some OCCT functions use void* as arguments or return values, e.g. V3d_View::SetWindow. These cannot be used, since Emscripten complains about void* not being a type for which bindings exist.
As a work-around, we could bind void* as a number (intptr_t in C++ - this should allow 64-bit compatibility) to JavaScript. It should also allow null as an argument. I believe, this would be usable via:
myView.SetWindow(aWindow,null);// pointer value could be passed using someValue.$$.ptr
The text was updated successfully, but these errors were encountered:
Some OCCT functions use
void*
as arguments or return values, e.g.V3d_View::SetWindow
. These cannot be used, since Emscripten complains aboutvoid*
not being a type for which bindings exist.As a work-around, we could bind
void*
as a number (intptr_t
in C++ - this should allow 64-bit compatibility) to JavaScript. It should also allownull
as an argument. I believe, this would be usable via:The text was updated successfully, but these errors were encountered: