summaryrefslogtreecommitdiffstats
path: root/libdex/InstrUtils.h
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-04-12 19:14:06 -0700
committerCarl Shapiro <cshapiro@google.com>2011-04-12 19:14:06 -0700
commitdb0c9549818d9f6e508d26e45ff9d886802aa1da (patch)
treec03b73dd265520edf1d71c003ad6e689cc2240f8 /libdex/InstrUtils.h
parenta584c50f374d8ba60f306772ff9cc4c46fb5ecf8 (diff)
downloadandroid_dalvik-db0c9549818d9f6e508d26e45ff9d886802aa1da.tar.gz
android_dalvik-db0c9549818d9f6e508d26e45ff9d886802aa1da.tar.bz2
android_dalvik-db0c9549818d9f6e508d26e45ff9d886802aa1da.zip
Convert the internal and in-line natives to C++.
Change-Id: I2ece682bc3b4d3b55ab27c60fd84a0b3243d7ca6
Diffstat (limited to 'libdex/InstrUtils.h')
-rw-r--r--libdex/InstrUtils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdex/InstrUtils.h b/libdex/InstrUtils.h
index f09429cf0..88804cf24 100644
--- a/libdex/InstrUtils.h
+++ b/libdex/InstrUtils.h
@@ -23,6 +23,10 @@
#include "DexFile.h"
#include "DexOpcodes.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Possible instruction formats associated with Dalvik opcodes.
*
@@ -198,4 +202,8 @@ DEX_INLINE InstructionIndexType dexGetIndexTypeFromOpcode(Opcode opcode)
*/
void dexDecodeInstruction(const u2* insns, DecodedInstruction* pDec);
+#ifdef __cplusplus
+}
+#endif
+
#endif /*_LIBDEX_INSTRUTILS*/