diff options
author | Carl Shapiro <cshapiro@google.com> | 2011-04-08 13:11:58 -0700 |
---|---|---|
committer | Carl Shapiro <cshapiro@google.com> | 2011-04-08 13:11:58 -0700 |
commit | ae188c676c681e47a93ade7fdf0144099b470e03 (patch) | |
tree | 0d7242995ffc8cfd11e484334786841ddc7bc2b5 /vm/JarFile.h | |
parent | a72475036290f55cd578dd15f65922dd01fbd3ce (diff) | |
download | android_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/JarFile.h')
-rw-r--r-- | vm/JarFile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/JarFile.h b/vm/JarFile.h index 36849ec19..0569ee2e9 100644 --- a/vm/JarFile.h +++ b/vm/JarFile.h @@ -19,6 +19,10 @@ #ifndef _DALVIK_JARFILE #define _DALVIK_JARFILE +#ifdef __cplusplus +extern "C" { +#endif + /* * This represents an open, scanned Jar file. (It's actually for any Zip * archive that happens to hold a Dex file.) @@ -68,4 +72,8 @@ typedef enum DexCacheStatus { */ DexCacheStatus dvmDexCacheStatus(const char *fileName); +#ifdef __cplusplus +} +#endif + #endif /*_DALVIK_JARFILE*/ |