mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-08 18:40:33 +00:00
add panic comment
This commit is contained in:
parent
ffa26e0243
commit
a59d65ff86
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@ void roc_dealloc(void *ptr, unsigned int alignment)
|
||||||
|
|
||||||
__attribute__((noreturn)) void roc_panic(void *ptr, unsigned int alignment)
|
__attribute__((noreturn)) void roc_panic(void *ptr, unsigned int alignment)
|
||||||
{
|
{
|
||||||
// TODO
|
|
||||||
|
// TODO throw a RuntimeException from JNI
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue