|
extern void ng_text_args(u8 x, u8 y, u8 palette, u16 start_tile, const char *text); |
Without #include <ngdevkit/types.h> in ng-fix.h, a .c file like this fails:
#include <ngdevkit/ng-fix.h> // u8 not defined yet at line where ng_text is declared
int main(void) { return 0; }
It gives me an error: unknown type name 'u8'
ngdevkit/include/ngdevkit/ng-fix.h
Line 46 in 4453820
Without #include <ngdevkit/types.h> in ng-fix.h, a .c file like this fails:
It gives me an error: unknown type name 'u8'