I'v ported cinvoke to MOTO E2 that working on arm linux. Most of the functions in this shared library can be
found and invoked correctly, but the function with the float value as parameter or return value that can not be
invoked correctly, the float values that passed to the shared library were not i expected, and the values passed
back were also incorrect. And the CALLBACK function is not work yet, it throwed the "Segmentation fault"
exception, I can't find out "what's the matter", so I was interrupted by this.
the accessories are the source code that i wrote. maybe someone can help me out!thanks!
https://files.cnblogs.com/zhongzf/src.rar
found and invoked correctly, but the function with the float value as parameter or return value that can not be
invoked correctly, the float values that passed to the shared library were not i expected, and the values passed
back were also incorrect. And the CALLBACK function is not work yet, it throwed the "Segmentation fault"
exception, I can't find out "what's the matter", so I was interrupted by this.
the accessories are the source code that i wrote. maybe someone can help me out!thanks!
https://files.cnblogs.com/zhongzf/src.rar