toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.wasm
/
WasmReaderText
/
WasmModuleBuilder
Wasm
Module
Builder
class
WasmModuleBuilder
Members
Constructors
Wasm
Module
Builder
Link copied to clipboard
constructor
(
)
Properties
asserts
Link copied to clipboard
val
asserts
:
ArrayList
<
WasmAssert
>
datas
Link copied to clipboard
val
datas
:
ArrayList
<
WasmData
>
elements
Link copied to clipboard
val
elements
:
ArrayList
<
WasmElement
>
exports
Link copied to clipboard
val
exports
:
ArrayList
<
WasmExport
>
funcs
Link copied to clipboard
val
funcs
:
ArrayList
<
WasmFunc
>
funcs
By
Name
Link copied to clipboard
val
funcsByName
:
LinkedHashMap
<
String
,
WasmFunc
>
globals
Link copied to clipboard
val
globals
:
ArrayList
<
WasmGlobal
>
globals
By
Name
Link copied to clipboard
val
globalsByName
:
LinkedHashMap
<
String
,
WasmGlobal
>
last
Data
Ptr
Link copied to clipboard
var
lastDataPtr
:
Int
memories
Link copied to clipboard
val
memories
:
ArrayList
<
WasmType.Limit
>
start
Func
Link copied to clipboard
var
startFunc
:
Int
tables
Link copied to clipboard
val
tables
:
ArrayList
<
WasmType.TableType
<
*
>
>
tables
By
Name
Link copied to clipboard
val
tablesByName
:
LinkedHashMap
<
String
,
WasmType.TableType
<
*
>
>
types
Link copied to clipboard
val
types
:
ArrayList
<
NamedWasmType
>
types
By
Name
Link copied to clipboard
val
typesByName
:
LinkedHashMap
<
String
,
NamedWasmType
>
Functions
add
Func
Link copied to clipboard
fun
addFunc
(
func
:
WasmFunc
)
:
WasmFunc
add
Global
Link copied to clipboard
fun
addGlobal
(
global
:
WasmGlobal
)
:
WasmGlobal
add
Table
Link copied to clipboard
fun
addTable
(
table
:
WasmType.TableType
<
*
>
,
name
:
String
)
add
Type
Link copied to clipboard
fun
addType
(
type
:
NamedWasmType
)
build
Module
Link copied to clipboard
fun
buildModule
(
)
:
WasmModule