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 @@ __attribute__((noreturn)) void roc_panic(void *ptr, unsigned int alignment)
PyErr_SetString(PyExc_RuntimeError, (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);
}

View file

@ -24,7 +24,7 @@ void roc_panic(void* ptr, unsigned int alignment) {
exit(1);
}
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);
}