public class GlobalsSection extends ModuleSection
| Modifier and Type | Method and Description |
|---|---|
GlobalsIndex |
globalsIndex() |
Global |
newConstantGlobal(String name,
PrimitiveType type,
WASMValue initializer) |
Global |
newMutableGlobal(String name,
PrimitiveType type,
WASMValue initializer) |
void |
writeTo(BinaryWriter binaryWriter) |
void |
writeTo(TextWriter textWriter) |
getModulepublic Global newMutableGlobal(String name, PrimitiveType type, WASMValue initializer)
public Global newConstantGlobal(String name, PrimitiveType type, WASMValue initializer)
public void writeTo(TextWriter textWriter) throws IOException
IOExceptionpublic void writeTo(BinaryWriter binaryWriter) throws IOException
IOExceptionpublic GlobalsIndex globalsIndex()
Copyright © 2020 Systemprogrammierung Mirko Sertic. All rights reserved.