src/SDL_error_c.h
changeset 1824 e25445333ccf
parent 1402 d910939febfa
child 1662 782fd950bd46
child 4159 a1b03ba2fcd0
equal deleted inserted replaced
1823:d2b0f8b18ab8 1824:e25445333ccf
    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 */