summaryrefslogtreecommitdiffstats
path: root/vm/Ddm.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm/Ddm.h')
-rw-r--r--vm/Ddm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/Ddm.h b/vm/Ddm.h
index 01f5d18ba..af7f6e1ec 100644
--- a/vm/Ddm.h
+++ b/vm/Ddm.h
@@ -19,6 +19,10 @@
#ifndef _DALVIK_DDM
#define _DALVIK_DDM
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Handle a packet full of DDM goodness.
*
@@ -84,4 +88,8 @@ ArrayObject* dvmDdmGetStackTraceById(u4 threadId);
*/
ArrayObject* dvmDdmGetRecentAllocations(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /*_DALVIK_DDM*/