Ignore:
Timestamp:
Apr 16, 2001, 7:12:53 PM (24 years ago)
Author:
sandervl
Message:

updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/wrc/utils.h

    r882 r5523  
    1919char *xstrdup(const char *str);
    2020
    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, ...);
     21int pperror(const char *s, ...) __attribute__((format (printf, 1, 2)));
     22int ppwarning(const char *s, ...) __attribute__((format (printf, 1, 2)));
     23int yyerror(const char *s, ...) __attribute__((format (printf, 1, 2)));
     24int yywarning(const char *s, ...) __attribute__((format (printf, 1, 2)));
     25void internal_error(const char *file, int line, const char *s, ...) __attribute__((format (printf, 3, 4)));
     26void error(const char *s, ...) __attribute__((format (printf, 1, 2)));
     27void warning(const char *s, ...) __attribute__((format (printf, 1, 2)));
     28void chat(const char *s, ...) __attribute__((format (printf, 1, 2)));
    2729
    2830char *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);
    3331char *dupwstr2cstr(const short *str);
    3432short *dupcstr2wstr(const char *str);
     33int compare_name_id(name_id_t *n1, name_id_t *n2);
     34string_t *convert_string(const string_t *str, enum str_e type);
     35void set_language(unsigned short lang, unsigned short sublang);
    3536
    3637#endif
Note: See TracChangeset for help on using the changeset viewer.