refactor: add helpers for file I/O, main script detection, safe strncpy, & make hal generic
This commit is contained in:
parent
a33d4c0068
commit
53c88c9069
19 changed files with 323 additions and 452 deletions
|
|
@ -28,3 +28,4 @@ void pxl8_log_write_error(const char* file, int line, const char* fmt, ...);
|
|||
#define pxl8_info(...) pxl8_log_write_info(__VA_ARGS__)
|
||||
#define pxl8_warn(...) pxl8_log_write_warn(__FILE__, __LINE__, __VA_ARGS__)
|
||||
#define pxl8_error(...) pxl8_log_write_error(__FILE__, __LINE__, __VA_ARGS__)
|
||||
#define pxl8_script_error(...) pxl8_log_write_error(NULL, 0, __VA_ARGS__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue