Skip to main content

Variable: default

const default: object

Default export: the module namespace object, with every named export as a property. Both import ffi from 'tjs-ffi' (then ffi.dlopen(...)) and import { dlopen } from 'tjs-ffi' are supported.

Type Declaration​

AdvancedType​

AdvancedType: typeof AdvancedType

allocStruct​

allocStruct: typeof allocStruct

ArrayType​

ArrayType: typeof ArrayType

bufferToPointer​

bufferToPointer: typeof bufferToPointer

bufferToString​

bufferToString: typeof bufferToString

createPointer​

createPointer: typeof createPointer

defineEnum​

defineEnum: typeof defineEnum

defineStruct​

defineStruct: typeof defineStruct

dlopen​

dlopen: typeof dlopen

dlopenCProto​

dlopenCProto: typeof dlopenCProto

errno​

errno: typeof errno

ExternalArrayBuffer​

ExternalArrayBuffer: typeof ExternalArrayBuffer

JSCallback​

JSCallback: typeof JSCallback

Pointer​

Pointer: typeof Pointer

PointerType​

PointerType: typeof PointerType

read​

read: typeof read

StaticStringType​

StaticStringType: typeof StaticStringType

strerror​

strerror: typeof strerror

stringToBuffer​

stringToBuffer: typeof stringToBuffer

StructType​

StructType: typeof StructType

suffix​

suffix: typeof suffix

types​

types: typeof types