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 17, 2024
1 parent cc38500 commit 31be126
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 @@ -16,6 +16,10 @@ void bigstring_to_typed_array () {
caml_fatal_error("Unimplemented Javascript primitive bigstring_to_typed_array!");
}

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

void caml_ba_from_typed_array () {
caml_fatal_error("Unimplemented Javascript primitive caml_ba_from_typed_array!");
}
Expand Down

0 comments on commit 31be126

Please sign in to comment.