wasm4 icon indicating copy to clipboard operation
wasm4 copied to clipboard

Native runtime uses int arguments with unspecified size

Open iacore opened this issue 3 years ago • 1 comments

C int doesn't have defined size. It's a terrible choice for ABI compatibility.

void w4_runtimeBlitSub (const uint8_t* sprite, int x, int y, int width, int height, int srcX, int srcY, int stride, int flags);

iacore avatar Apr 24 '22 10:04 iacore

Also, the native implementation has 58975 bytes of user data, but should be userdata: [58976]u8

iacore avatar Apr 24 '22 11:04 iacore