Skip to content

Commit

Permalink
Fix: move C primitive
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierNicole committed Dec 12, 2024
1 parent b7bcaa8 commit 2b318cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/js_of_ocaml/js_of_ocaml_stubs.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#include <caml/misc.h>

void caml_assume_no_perform () {
caml_fatal_error("Unimplemented Javascript primitive caml_assume_no_perform!");
}

void caml_bytes_of_array () {
caml_fatal_error("Unimplemented Javascript primitive caml_bytes_of_array!");
}
Expand Down
4 changes: 4 additions & 0 deletions lib/runtime/js_of_ocaml_runtime_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ void caml_unmount () {
caml_fatal_error("Unimplemented Javascript primitive caml_unmount!");
}

void caml_assume_no_perform () {
caml_fatal_error("Unimplemented Javascript primitive caml_assume_no_perform!");
}

void debugger () {
caml_fatal_error("Unimplemented Javascript primitive debugger!");
}

0 comments on commit 2b318cf

Please sign in to comment.