Initial commit: Torrent search and download application
This commit is contained in:
commit
e38be704ff
4313 changed files with 791544 additions and 0 deletions
18
node_modules/@tootallnate/quickjs-emscripten/dist/memory.d.ts
generated
vendored
Normal file
18
node_modules/@tootallnate/quickjs-emscripten/dist/memory.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { EitherModule } from "./emscripten-types";
|
||||
import { OwnedHeapCharPointer, JSContextPointerPointer, JSValueConstPointerPointer, JSValuePointerPointer } from "./types-ffi";
|
||||
import { Lifetime } from "./lifetime";
|
||||
import { QuickJSHandle } from "./types";
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
export declare class ModuleMemory {
|
||||
module: EitherModule;
|
||||
constructor(module: EitherModule);
|
||||
toPointerArray(handleArray: QuickJSHandle[]): Lifetime<JSValueConstPointerPointer>;
|
||||
newMutablePointerArray<T extends JSContextPointerPointer | JSValuePointerPointer>(length: number): Lifetime<{
|
||||
typedArray: Int32Array;
|
||||
ptr: T;
|
||||
}>;
|
||||
newHeapCharPointer(string: string): Lifetime<OwnedHeapCharPointer>;
|
||||
consumeHeapCharPointer(ptr: OwnedHeapCharPointer): string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue