Nuke qboolean from orbit

I never liked it, but with C2x coming out, it's best to handle bools
properly. I haven't gone through all the uses of int as bool (I'll leave
that for fixing when I encounter them), but this gets QF working with
both c2x (really, gnu2x because of raw strings).
This commit is contained in:
Bill Currie 2023-06-13 18:06:11 +09:00
parent 9871b44d68
commit dbd3d6502a
273 changed files with 894 additions and 897 deletions

View file

@ -44,7 +44,7 @@ typedef struct gib_function_s {
struct hashtab_s *globals;
struct llist_s *arglist;
unsigned int minargs;
qboolean exported;
bool exported;
} gib_function_t;
gib_function_t *GIB_Function_Define (const char *name, const char *text, gib_tree_t *program, gib_script_t *script, hashtab_t *globals);