mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-21 10:41:42 +00:00
Initial external decorator for annotating explicit import names; Use file name as default module name in imports; Emit empty memory if there are no static segments; Update TLSF and examples accordingly
This commit is contained in:
6
examples/game-of-life/assembly/config.ts
Normal file
6
examples/game-of-life/assembly/config.ts
Normal file
@ -0,0 +1,6 @@
|
||||
// On the WASM side, 32-bit color values are modified in ABGR order (alpha, blue, green, red)
|
||||
// because WASM is little endian. This results in RGBA in memory, which is exactly what the image
|
||||
// buffer, composed of 8-bit components, expects on the JS side.
|
||||
export declare const BGR_ALIVE: u32;
|
||||
export declare const BGR_DEAD: u32;
|
||||
export declare const BIT_ROT: u32;
|
Reference in New Issue
Block a user