4 @maintainer Morgan McGuire, matrix@graphics3d.com
9 Copyright 2000-2005, Morgan McGuire.
16 #include "G3D/platform.h"
22 // Don't include varargs.h for some random
24 //#include <varargs.h>
30 #define __cdecl __attribute__((cdecl))
37 Produces a string from arguments of the style of printf. This avoids
38 problems with buffer overflows when using sprintf and makes it easy
39 to use the result functionally. This function is fast when the resulting
40 string is under 160 characters (not including terminator) and slower
41 when the string is longer.
45 ...) G3D_CHECK_PRINTF_ARGS
;
48 Like format, but can be called with the argument list from a ... function.
52 va_list argPtr
) G3D_CHECK_VPRINTF_ARGS
;