diff options
Diffstat (limited to 'libdex/DexProto.h')
-rw-r--r-- | libdex/DexProto.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libdex/DexProto.h b/libdex/DexProto.h index 50d4bf330..a300d3fde 100644 --- a/libdex/DexProto.h +++ b/libdex/DexProto.h @@ -23,6 +23,10 @@ #include "DexFile.h" +#ifdef __cplusplus +extern "C" { +#endif + /* * Single-thread single-string cache. This structure holds a pointer to * a string which is semi-automatically manipulated by some of the @@ -226,6 +230,8 @@ u4 dexParameterIteratorNextIndex(DexParameterIterator* pIterator); const char* dexParameterIteratorNextDescriptor( DexParameterIterator* pIterator); - +#ifdef __cplusplus +} +#endif #endif /*_LIBDEX_DEXPROTO*/ |