diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-18 22:20:24 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-18 22:20:24 -0700 |
commit | 99409883d9c4c0ffb49b070ce307bb33a9dfe9f1 (patch) | |
tree | 47fa49e57ca43a07d37839ef5db35b705ec738fe /vm/Init.h | |
parent | 27e65e506369aa7eaca3e92a77631af63079ebd6 (diff) | |
download | android_dalvik-99409883d9c4c0ffb49b070ce307bb33a9dfe9f1.tar.gz android_dalvik-99409883d9c4c0ffb49b070ce307bb33a9dfe9f1.tar.bz2 android_dalvik-99409883d9c4c0ffb49b070ce307bb33a9dfe9f1.zip |
auto import //branches/master/...@140412
Diffstat (limited to 'vm/Init.h')
-rw-r--r-- | vm/Init.h | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -41,9 +41,14 @@ int dvmPrepForDexOpt(const char* bootClassPath, DexOptimizerMode dexOptMode, DexClassVerifyMode verifyMode, int dexoptFlags); /* - * Unconditionally abort the entire VM. Try not to use this. + * Replacement for fprintf() when we want to send a message to the console. + * This defaults to fprintf(), but will use the JNI fprintf callback if + * one was provided. */ -int dvmFprintf(FILE* fp, const char* format, ...); -void dvmAbort(void); +int dvmFprintf(FILE* fp, const char* format, ...) +#if defined(__GNUC__) + __attribute__ ((format(printf, 2, 3))) +#endif + ; #endif /*_DALVIK_INIT*/ |