summaryrefslogtreecommitdiffstats
path: root/vm/InlineNative.h
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-04-08 13:11:58 -0700
committerCarl Shapiro <cshapiro@google.com>2011-04-08 13:11:58 -0700
commitae188c676c681e47a93ade7fdf0144099b470e03 (patch)
tree0d7242995ffc8cfd11e484334786841ddc7bc2b5 /vm/InlineNative.h
parenta72475036290f55cd578dd15f65922dd01fbd3ce (diff)
downloadandroid_dalvik-ae188c676c681e47a93ade7fdf0144099b470e03.tar.gz
android_dalvik-ae188c676c681e47a93ade7fdf0144099b470e03.tar.bz2
android_dalvik-ae188c676c681e47a93ade7fdf0144099b470e03.zip
Compile the garbage collector and heap profiler as C++.
Change-Id: I25d8fa821987a3dd6d7109d07fd42dbf2fe0e589
Diffstat (limited to 'vm/InlineNative.h')
-rw-r--r--vm/InlineNative.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/InlineNative.h b/vm/InlineNative.h
index 4ca90e2fe..4f86cef5f 100644
--- a/vm/InlineNative.h
+++ b/vm/InlineNative.h
@@ -20,6 +20,10 @@
#ifndef _DALVIK_INLINENATIVE
#define _DALVIK_INLINENATIVE
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* startup/shutdown */
bool dvmInlineNativeStartup(void);
void dvmInlineNativeShutdown(void);
@@ -121,4 +125,8 @@ bool dvmPerformInlineOp4Dbg(u4 arg0, u4 arg1, u4 arg2, u4 arg3,
*/
Method* dvmResolveInlineNative(int opIndex);
+#ifdef __cplusplus
+}
+#endif
+
#endif /*_DALVIK_INLINENATIVE*/