4 ms·
this is C code. stuff like void*, union and raw arrays do not belond in modern C++. while C++ is compatible with C it provides ways to write safer code that C d
by Enhex 5y ago
this is C code.
stuff like void*, union and raw arrays do not belond in modern C++.
while C++ is compatible with C it provides ways to write safer code that C doesn't.
writing C code in a C++ project is similar to writing inline assembly.
- pjmlp 5y agoHere, https://android.googlesource.com/platform/ndk/+/refs/heads/master/sources/android/ndk_helper/JNIHelper.h#120 https://android.googlesource.com/platform/ndk/+/refs/heads/m...