Changeset 5523 for trunk/tools/wrc/utils.h
- Timestamp:
- Apr 16, 2001, 7:12:53 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/wrc/utils.h
r882 r5523 19 19 char *xstrdup(const char *str); 20 20 21 int yyerror(const char *s, ...); 22 int yywarning(const char *s, ...); 23 void internal_error(const char *file, int line, const char *s, ...); 24 void error(const char *s, ...); 25 void warning(const char *s, ...); 26 void chat(const char *s, ...); 21 int pperror(const char *s, ...) __attribute__((format (printf, 1, 2))); 22 int ppwarning(const char *s, ...) __attribute__((format (printf, 1, 2))); 23 int yyerror(const char *s, ...) __attribute__((format (printf, 1, 2))); 24 int yywarning(const char *s, ...) __attribute__((format (printf, 1, 2))); 25 void internal_error(const char *file, int line, const char *s, ...) __attribute__((format (printf, 3, 4))); 26 void error(const char *s, ...) __attribute__((format (printf, 1, 2))); 27 void warning(const char *s, ...) __attribute__((format (printf, 1, 2))); 28 void chat(const char *s, ...) __attribute__((format (printf, 1, 2))); 27 29 28 30 char *dup_basename(const char *name, const char *ext); 29 int string_compare(const string_t *s1, const string_t *s2);30 int wstrlen(const short *s);31 short *wstrcpy(short *dst, const short *src);32 int wstricmp(const short *s1, const short *s2);33 31 char *dupwstr2cstr(const short *str); 34 32 short *dupcstr2wstr(const char *str); 33 int compare_name_id(name_id_t *n1, name_id_t *n2); 34 string_t *convert_string(const string_t *str, enum str_e type); 35 void set_language(unsigned short lang, unsigned short sublang); 35 36 36 37 #endif
Note:
See TracChangeset
for help on using the changeset viewer.