mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-14 23:41:30 +00:00
General cleanup (#525)
* Cleans up and trims the overly large builtins file by ~1600 lines * Properly propagate inline assembler-like argument types * Use https in examples * Reformat README
This commit is contained in:
@ -57,7 +57,7 @@ export namespace atomic {
|
||||
@builtin export declare function xchg<T>(ptr: usize, value: T, immOffset?: usize): T;
|
||||
@builtin export declare function cmpxchg<T>(ptr: usize, expected: T, replacement: T, immOffset?: usize): T;
|
||||
@builtin export declare function wait<T>(ptr: usize, expected: T, timeout: i64): AtomicWaitResult;
|
||||
@builtin export declare function notify<T>(ptr: usize, count: u32): u32;
|
||||
@builtin export declare function notify<T>(ptr: usize, count: i32): i32;
|
||||
}
|
||||
|
||||
@lazy export const enum AtomicWaitResult {
|
||||
|
Reference in New Issue
Block a user