Is there a way/tool to enumerate all the C function prototypes (not sure if that’s the right term) from the .h files in the NDK folder subdirectories (i.e. C:\android-ndk-r8b\platforms\android-9\arch-arm\usr\include) and produce something like a javadoc? The reason I’m asking is because we have a developer on our end who is trying to port his Windows code over to the android platform and before he begins to go forward with such an effort, he needs to know what API calls are supported so he can begin changing his code base to make it Android-NDK compliant. I’ve run across the following links in my search for an answer:
http://mobilepearls.com/labs/native-android-api/#c++
C:/android-ndk-r8b/docs/STABLE-APIS.html
C:/android-ndk-r8b/docs/CPLUSPLUS-SUPPORT.html
The right way to check if the code is compliant is to compile it and see what breaks. Win32 API surely would – there’s even no point in checking if an NDK counterpart exists. The C/C++ RTL is a little more tricky – some functions have counterparts, some don’t. But enumerating them all and matching by hand is, frankly, a waste of time. A compiler will do the same much faster.