summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/examples/dlopen/eightball.h
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-01 22:34:58 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-01 22:34:58 +0000
commit0e151bf97ba5c90fdbf937722e0b4f97aeb5e99b (patch)
tree2ec337c5ffad394e5f87887b97bacebd18708651 /native_client_sdk/src/examples/dlopen/eightball.h
parente4420b5e3668468358a80fbca729dd75161c0e24 (diff)
downloadchromium_src-0e151bf97ba5c90fdbf937722e0b4f97aeb5e99b.zip
chromium_src-0e151bf97ba5c90fdbf937722e0b4f97aeb5e99b.tar.gz
chromium_src-0e151bf97ba5c90fdbf937722e0b4f97aeb5e99b.tar.bz2
Support GLBIC example in SDK
This CL added two new examples for the NaCl SDK. This only affects SDK bots since the code is completely contained within native_client_sdk subtree. Fix incorrectly placed ppapi headers. Remove TODOs and cleanup create_nmf.py. Add hello_world_glibc example Add dlopen example. BUG= 111224 Review URL: https://chromiumcodereview.appspot.com/9234043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120117 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src/examples/dlopen/eightball.h')
-rw-r--r--native_client_sdk/src/examples/dlopen/eightball.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/native_client_sdk/src/examples/dlopen/eightball.h b/native_client_sdk/src/examples/dlopen/eightball.h
new file mode 100644
index 0000000..d0924d3
--- /dev/null
+++ b/native_client_sdk/src/examples/dlopen/eightball.h
@@ -0,0 +1,9 @@
+#ifndef __EIGHTBALL_H__
+#define __EIGHTBALL_H__
+
+/* Return an answer. Question not required */
+typedef char* (*TYPE_eightball)(void);
+extern "C" const char* Magic8Ball();
+
+#endif /* __EIGHTBALL_H__ */
+