mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 18:01:31 +00:00
changetype builtin; some namespace parsing; more stdlib ideas; compiler options for asc
This commit is contained in:
11
std/cstring.d.ts
vendored
11
std/cstring.d.ts
vendored
@ -1,5 +1,12 @@
|
||||
/// <reference path="../assembly.d.ts" />
|
||||
|
||||
declare class CString extends CArray<u8> {
|
||||
constructor(text: string);
|
||||
/** A C-compatible string class. */
|
||||
declare class CString {
|
||||
readonly [key: number]: u8;
|
||||
|
||||
/** Constructs a new C-String from a standard string. */
|
||||
constructor(string: string);
|
||||
|
||||
/** Disposes this instance and the memory associated with it. */
|
||||
dispose(): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user