Add binarysearch, complex_updates, matrix1 wrappers

This commit is contained in:
2026-07-07 18:15:52 +02:00
parent a797335be9
commit bf87063bf1
3 changed files with 75 additions and 0 deletions
@@ -0,0 +1,25 @@
#include "../lib.h"
extern "C" {
void __pragma_loopbound(unsigned, unsigned) {}
void complex_updates_init(void);
void complex_updates_main(void);
int complex_updates_return(void);
EXPORT("wasm_module") int wasm_module(void) {
complex_updates_init();
fail_start_trace();
complex_updates_main();
fail_stop_trace();
int ret = complex_updates_return();
if (ret == 0) {
fail_marker_positive();
} else {
fail_marker_negative();
}
return ret;
}
}