Mirai's Miscellaneous Misadventures
M45 / engines / wasm.c
1
2
3
4#include <mimimi.h>
5
6void *mimimi_wasm_javascript_texture(void *data, struct mimimi_image *image);
7void *mimimi_wasm_texture(void *data, struct mimimi_image *image)
8{
9 return mimimi_wasm_javascript_texture(data, image);
10}
11
12void mimimi_wasm_javascript_invalidate(void *data, void *texture);
13void mimimi_wasm_invalidate(void *data, void *texture)
14{
15 mimimi_wasm_javascript_invalidate(data, texture);
16}
17
18void mimimi_wasm_javascript_stamp(void *data, int x, int y, void *texture);
19void mimimi_wasm_stamp(void *data, int x, int y, void *texture)
20{
21 mimimi_wasm_javascript_stamp(data, x, y, texture);
22}