switch dbg arg ordering to make it backwards compatible

This commit is contained in:
Brendan Hansknecht 2023-12-02 16:52:32 -08:00
parent 6c60da2832
commit 787d7f85ac
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
50 changed files with 54 additions and 53 deletions

View file

@ -27,7 +27,7 @@ void roc_panic(void *ptr, unsigned int alignment)
napi_throw_error(napi_global_env, NULL, (char *)ptr);
}
void roc_dbg(char* loc, char* src, char* msg) {
void roc_dbg(char* loc, char* msg, char* src) {
fprintf(stderr, "[%s] %s = %s\n", loc, src, msg);
}