00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef ROOT_snprintf
00011 #define ROOT_snprintf
00012
00013 #ifndef ROOT_RConfig
00014 #include "RConfig.h"
00015 #endif
00016
00017 #ifndef __CINT__
00018
00019 #ifdef NEED_SNPRINTF
00020
00021 #include <stdio.h>
00022 #include <stdarg.h>
00023
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027
00028 #ifdef WIN32
00029 #pragma warning( push )
00030 #pragma warning (disable: 4273)
00031 #endif
00032
00033 #ifndef DONTNEED_VSNPRINTF
00034 int vsnprintf(char *string, size_t length, const char *format, va_list args);
00035 #endif
00036 int snprintf(char *string, size_t length, const char *format, ...);
00037
00038 #ifdef WIN32
00039 #pragma warning( pop )
00040 #endif
00041
00042 #ifdef __cplusplus
00043 }
00044 #endif
00045
00046 #endif
00047
00048 #else
00049
00050 int snprintf(char *string, size_t length, const char *format, ...);
00051
00052 #endif
00053
00054 #endif