haXe API Documentation
Back | Index
class neko.vm.Module
Available in neko
A Neko Module represent a execution unit for the Neko Virtual Machine. Each compiled .n bytecode file is a module once loaded by the NekoVM.
var m : ModuleHandle
The abstract handle.
var name(dynamic,dynamic) : String
function new(m : ModuleHandle) : Void
function codeSize() : Int
function execute() : Dynamic
function exportsTable() : Dynamic
function getExports() : haxe.ds.StringMap<Dynamic>
function getGlobal(n : Int) : Dynamic
function globalsCount() : Int
function loader() : Loader
function setExport(name : String, value : Dynamic) : Void
function setGlobal(n : Int, v : Dynamic) : Void
function toString() : String
static function local() : Module
static function read(i : haxe.io.Input, l : Loader) : Module
static function readBytes(b : haxe.io.Bytes, loader : Loader) : Module
static function readGlobalsNames(i : haxe.io.Input) : Array<String>
static function readPath(name : String, path : Array<String>, loader : Loader) : Module
Back | Index