mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
update roc_dbg in platforms
This commit is contained in:
parent
3966d63e2f
commit
13d2238536
46 changed files with 94 additions and 89 deletions
|
@ -27,8 +27,8 @@ __attribute__((noreturn)) void roc_panic(void *ptr, unsigned int alignment)
|
|||
PyErr_SetString(PyExc_RuntimeError, (char *)ptr);
|
||||
}
|
||||
|
||||
void roc_dbg(char* loc, char* msg) {
|
||||
fprintf(stderr, "[%s] %s\n", loc, msg);
|
||||
void roc_dbg(char* loc, char* src, char* msg) {
|
||||
fprintf(stderr, "[%s] %s = %s\n", loc, src, msg);
|
||||
}
|
||||
|
||||
void *roc_memset(void *str, int c, size_t n) { return memset(str, c, n); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue