AI 149005: Change from ndk to platform's ndk (pndk), the ability to make your own java callable libraries to c code.
BUG=1857858 Automated import of CL 149005
This commit is contained in:
committed by
The Android Open Source Project
parent
c3c7479ab6
commit
429fbd82d8
9
pdk/pndk/samples/sample/use_hellolibrary.c
Normal file
9
pdk/pndk/samples/sample/use_hellolibrary.c
Normal file
@@ -0,0 +1,9 @@
|
||||
/* use_hellolibrary.c -- used to show how to link to the hellolibrary */
|
||||
|
||||
int hellolibrary(char *msg);
|
||||
|
||||
int main()
|
||||
{
|
||||
hellolibrary("Hello from the NDK.\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user