ExternType
Tags
Table of Contents
- KIND_FUNC = WASM_EXTERN_FUNC
- KIND_GLOBAL = WASM_EXTERN_GLOBAL
- KIND_MEMORY = WASM_EXTERN_MEMORY
- KIND_TABLE = WASM_EXTERN_TABLE
- __construct() : mixed
- Create a Wasm\Type\ExternType from a `wasm_externtype_t` resource.
- asFuncType() : FuncType
- asGlobalType() : GlobalType
- inner() : resource
- Return the inner extern type resource.
- kind() : int
Constants
KIND_FUNC
public
mixed
KIND_FUNC
= WASM_EXTERN_FUNC
KIND_GLOBAL
public
mixed
KIND_GLOBAL
= WASM_EXTERN_GLOBAL
KIND_MEMORY
public
mixed
KIND_MEMORY
= WASM_EXTERN_MEMORY
KIND_TABLE
public
mixed
KIND_TABLE
= WASM_EXTERN_TABLE
Methods
__construct()
Create a Wasm\Type\ExternType from a `wasm_externtype_t` resource.
public
__construct(mixed $externtype) : mixed
Parameters
- $externtype : mixed
Tags
Return values
mixed —asFuncType()
public
asFuncType() : FuncType
Return values
FuncType —asGlobalType()
public
asGlobalType() : GlobalType
Return values
GlobalType —inner()
Return the inner extern type resource.
public
inner() : resource
Return values
resource —A wasm_externtype_t
resource
kind()
public
kind() : int