comparison src/SDL_error_c.h @ 1659:14717b52abc0 SDL-1.3

Merge trunk-1.3-3
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 08:18:28 +0000
parents d910939febfa
children 782fd950bd46 a1b03ba2fcd0
comparison
equal deleted inserted replaced
1658:e49147870aac 1659:14717b52abc0
38 /* This is a key used to index into a language hashtable containing 38 /* This is a key used to index into a language hashtable containing
39 internationalized versions of the SDL error messages. If the key 39 internationalized versions of the SDL error messages. If the key
40 is not in the hashtable, or no hashtable is available, the key is 40 is not in the hashtable, or no hashtable is available, the key is
41 used directly as an error message format string. 41 used directly as an error message format string.
42 */ 42 */
43 unsigned char key[ERR_MAX_STRLEN]; 43 char key[ERR_MAX_STRLEN];
44 44
45 /* These are the arguments for the error functions */ 45 /* These are the arguments for the error functions */
46 int argc; 46 int argc;
47 union { 47 union {
48 void *value_ptr; 48 void *value_ptr;
49 #if 0 /* What is a character anyway? (UNICODE issues) */ 49 #if 0 /* What is a character anyway? (UNICODE issues) */
50 unsigned char value_c; 50 unsigned char value_c;
51 #endif 51 #endif
52 int value_i; 52 int value_i;
53 double value_f; 53 double value_f;
54 unsigned char buf[ERR_MAX_STRLEN]; 54 char buf[ERR_MAX_STRLEN];
55 } args[ERR_MAX_ARGS]; 55 } args[ERR_MAX_ARGS];
56 } SDL_error; 56 } SDL_error;
57 57
58 #endif /* _SDL_error_c_h */ 58 #endif /* _SDL_error_c_h */