mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
13 lines
307 B
TypeScript
13 lines
307 B
TypeScript
/// <reference path="../assembly.d.ts" />
|
|
|
|
/** A C-compatible array class. */
|
|
declare class CArray<T> {
|
|
[key: number]: T;
|
|
|
|
/** Constructs a new C-Array of the specified capacity. */
|
|
constructor(capacity: usize);
|
|
|
|
/** Disposes this instance and the memory associated with it. */
|
|
dispose(): void;
|
|
}
|