C # side code
[WrapperlessIcall] [MethodImpl(MethodImplOptions.InternalCall)] private extern void INTERNAL_set_rotation(ref Quaternion value);
How to derive this method from C ++ to mono
Thanks.
You need to call mono_add_internal_call :
mono_add_internal_call
mono_add_internal_call ("YourClass::INTERNAL_set_rotation", yourclass_INTERNAL_set_rotation);
There is documentation here: http://www.mono-project.com/Embedding_Mono#Exposing_C_code_to_the_CIL_universe
And here is a sample code: https://github.com/mono/moon/blob/8d8ece884382d653d215b0da5bf633079566d816/src/deployment.cpp#L579
Source: https://habr.com/ru/post/1432402/More articles:How to configure queue_classic logging - ruby โโ| fooobar.comSetting Rails Model Attributes - ruby-on-railsSources of Entropy on the Internet - phpPhysical width and width of content? - htmlFixed width left column, right column variable width - htmlRestore Steam Activity Stream? - apiSingle-valued image of Codeigniter in several sizes - codeigniterBraces Formatting Netbeans - javaSQL injection is good - sql-injection$ ElemMatch not working with new mongodb 2.2? - node.jsAll Articles