WebAssemblyCalls

Overview

Direct calls to the javscript side.

Location

 

constructor  protected

 

constructor

 

WebAssemblyCalls()

 

init()

 

WebAssemblyCalls()

AjaxRequest  External

 

class method AjaxRequest(url: ^Char; urlLength: Int32): Int32

 

static Int32 AjaxRequest(Char* url, Int32 urlLength)

 

static func AjaxRequest(_ url: UnsafeMutablePointer<Char>, _ urlLength: Int32) -> Int32

 

static Int32 AjaxRequest(Char* url, Int32 urlLength)

Parameters:

  • url:
  • urlLength:

AjaxRequestBinary  External

 

class method AjaxRequestBinary(url: ^Char; urlLength: Int32): Int32

 

static Int32 AjaxRequestBinary(Char* url, Int32 urlLength)

 

static func AjaxRequestBinary(_ url: UnsafeMutablePointer<Char>, _ urlLength: Int32) -> Int32

 

static Int32 AjaxRequestBinary(Char* url, Int32 urlLength)

Parameters:

  • url:
  • urlLength:

ArrayLength  External

 

class method ArrayLength(aSelf: IntPtr): Int32

 

static Int32 ArrayLength(IntPtr aSelf)

 

static func ArrayLength(_ aSelf: IntPtr) -> Int32

 

static Int32 ArrayLength(IntPtr aSelf)

Parameters:

  • aSelf:

Call  External

 

class method Call(aSelf: IntPtr; aName: String; aArgs: ^IntPtr; aArgCount: IntPtr; aReleaseArgs: Boolean): IntPtr

 

static IntPtr Call(IntPtr aSelf, String aName, IntPtr* aArgs, IntPtr aArgCount, Boolean aReleaseArgs)

 

static func Call(_ aSelf: IntPtr, _ aName: String, _ aArgs: UnsafeMutablePointer<IntPtr>, _ aArgCount: IntPtr, _ aReleaseArgs: Boolean) -> IntPtr

 

static IntPtr Call(IntPtr aSelf, String aName, IntPtr* aArgs, IntPtr aArgCount, Boolean aReleaseArgs)

Parameters:

  • aSelf:
  • aName:
  • aArgs:
  • aArgCount:
  • aReleaseArgs:

ClearInterval  External

 

class method ClearInterval(aHandle: IntPtr)

 

static void ClearInterval(IntPtr aHandle)

 

static func ClearInterval(_ aHandle: IntPtr)

 

static void ClearInterval(IntPtr aHandle)

Parameters:

  • aHandle:

CloneHandle  External

 

class method CloneHandle(aHandle: IntPtr): IntPtr

 

static IntPtr CloneHandle(IntPtr aHandle)

 

static func CloneHandle(_ aHandle: IntPtr) -> IntPtr

 

static IntPtr CloneHandle(IntPtr aHandle)

Parameters:

  • aHandle:

ConsoleLog (^Char, Int32)  External

 

class method ConsoleLog(s: ^Char; len: Int32)

 

static void ConsoleLog(Char* s, Int32 len)

 

static func ConsoleLog(_ s: UnsafeMutablePointer<Char>, _ len: Int32)

 

static void ConsoleLog(Char* s, Int32 len)

Parameters:

  • s:
  • len:

ConsoleLog (Int32)  External

 

class method ConsoleLog(val: Int32)

 

static void ConsoleLog(Int32 val)

 

static func ConsoleLog(_ val: Int32)

 

static void ConsoleLog(Int32 val)

Parameters:

  • val:

CreateArray  External

 

class method CreateArray: IntPtr

 

static IntPtr CreateArray()

 

static func CreateArray() -> IntPtr

 

static IntPtr CreateArray()

CreateBoolean  External

 

class method CreateBoolean(aVal: Boolean): IntPtr

 

static IntPtr CreateBoolean(Boolean aVal)

 

static func CreateBoolean(_ aVal: Boolean) -> IntPtr

 

static IntPtr CreateBoolean(Boolean aVal)

Parameters:

  • aVal:

CreateDouble  External

 

class method CreateDouble(aVal: Double): IntPtr

 

static IntPtr CreateDouble(Double aVal)

 

static func CreateDouble(_ aVal: Double) -> IntPtr

 

static IntPtr CreateDouble(Double aVal)

Parameters:

  • aVal:

CreateElement  External

 

class method CreateElement(aElement: String): IntPtr

 

static IntPtr CreateElement(String aElement)

 

static func CreateElement(_ aElement: String) -> IntPtr

 

static IntPtr CreateElement(String aElement)

Parameters:

  • aElement:

CreateFunc  External

 

class method CreateFunc(aVal: WebAssemblyDelegate): IntPtr

 

static IntPtr CreateFunc(WebAssemblyDelegate aVal)

 

static func CreateFunc(_ aVal: WebAssemblyDelegate) -> IntPtr

 

static IntPtr CreateFunc(WebAssemblyDelegate aVal)

Parameters:

  • aVal:

CreateInteger  External

 

class method CreateInteger(aVal: Int32): IntPtr

 

static IntPtr CreateInteger(Int32 aVal)

 

static func CreateInteger(_ aVal: Int32) -> IntPtr

 

static IntPtr CreateInteger(Int32 aVal)

Parameters:

  • aVal:

CreateObject  External

 

class method CreateObject: IntPtr

 

static IntPtr CreateObject()

 

static func CreateObject() -> IntPtr

 

static IntPtr CreateObject()

CreateString  External

 

class method CreateString(aVal: String): IntPtr

 

static IntPtr CreateString(String aVal)

 

static func CreateString(_ aVal: String) -> IntPtr

 

static IntPtr CreateString(String aVal)

Parameters:

  • aVal:

CreateTextNode  External

 

class method CreateTextNode(aVal: String): IntPtr

 

static IntPtr CreateTextNode(String aVal)

 

static func CreateTextNode(_ aVal: String) -> IntPtr

 

static IntPtr CreateTextNode(String aVal)

Parameters:

  • aVal:

CryptoSafeRandom  External

 

class method CryptoSafeRandom(target: ^Byte; len: Int32)

 

static void CryptoSafeRandom(Byte* target, Int32 len)

 

static func CryptoSafeRandom(_ target: UnsafeMutablePointer<Byte>, _ len: Int32)

 

static void CryptoSafeRandom(Byte* target, Int32 len)

Parameters:

  • target:
  • len:

DefineGetterSetterProperty  External

 

class method DefineGetterSetterProperty(aSelf: IntPtr; aName: String; aGetter: WebAssemblyDelegate; aSetter: WebAssemblyDelegate; aFlags: EcmaScriptPropertyFlags)

 

static void DefineGetterSetterProperty(IntPtr aSelf, String aName, WebAssemblyDelegate aGetter, WebAssemblyDelegate aSetter, EcmaScriptPropertyFlags aFlags)

 

static func DefineGetterSetterProperty(_ aSelf: IntPtr, _ aName: String, _ aGetter: WebAssemblyDelegate, _ aSetter: WebAssemblyDelegate, _ aFlags: EcmaScriptPropertyFlags)

 

static void DefineGetterSetterProperty(IntPtr aSelf, String aName, WebAssemblyDelegate aGetter, WebAssemblyDelegate aSetter, EcmaScriptPropertyFlags aFlags)

Parameters:

  • aSelf:
  • aName:
  • aGetter:
  • aSetter:
  • aFlags:

DefineValueProperty  External

 

class method DefineValueProperty(aSelf: IntPtr; aName: String; aValue: IntPtr; aFlags: EcmaScriptPropertyFlags)

 

static void DefineValueProperty(IntPtr aSelf, String aName, IntPtr aValue, EcmaScriptPropertyFlags aFlags)

 

static func DefineValueProperty(_ aSelf: IntPtr, _ aName: String, _ aValue: IntPtr, _ aFlags: EcmaScriptPropertyFlags)

 

static void DefineValueProperty(IntPtr aSelf, String aName, IntPtr aValue, EcmaScriptPropertyFlags aFlags)

Parameters:

  • aSelf:
  • aName:
  • aValue:
  • aFlags:

EnumerateKnownTypes  External

 

class method EnumerateKnownTypes(aData: Object; aCB: KnownTypesEnumerator)

 

static void EnumerateKnownTypes(Object aData, KnownTypesEnumerator aCB)

 

static func EnumerateKnownTypes(_ aData: Object, _ aCB: KnownTypesEnumerator)

 

static void EnumerateKnownTypes(Object aData, KnownTypesEnumerator aCB)

Parameters:

  • aData:
  • aCB:

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Eval  External

 

class method Eval(aVal: String): IntPtr

 

static IntPtr Eval(String aVal)

 

static func Eval(_ aVal: String) -> IntPtr

 

static IntPtr Eval(String aVal)

Parameters:

  • aVal:

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

FreeHandle  External

 

class method FreeHandle(handle: Int32)

 

static void FreeHandle(Int32 handle)

 

static func FreeHandle(_ handle: Int32)

 

static void FreeHandle(Int32 handle)

Parameters:

  • handle:

Get  External

 

class method Get(aSelf: IntPtr; aName: String): IntPtr

 

static IntPtr Get(IntPtr aSelf, String aName)

 

static func Get(_ aSelf: IntPtr, _ aName: String) -> IntPtr

 

static IntPtr Get(IntPtr aSelf, String aName)

Parameters:

  • aSelf:
  • aName:

GetArray  External

 

class method GetArray(aSelf: IntPtr; aIdx: Int32): IntPtr

 

static IntPtr GetArray(IntPtr aSelf, Int32 aIdx)

 

static func GetArray(_ aSelf: IntPtr, _ aIdx: Int32) -> IntPtr

 

static IntPtr GetArray(IntPtr aSelf, Int32 aIdx)

Parameters:

  • aSelf:
  • aIdx:

GetCurrentLocale  External

 

class method GetCurrentLocale: Int32

 

static Int32 GetCurrentLocale()

 

static func GetCurrentLocale() -> Int32

 

static Int32 GetCurrentLocale()

GetDoubleValue  External

 

class method GetDoubleValue(aHandle: IntPtr): Double

 

static Double GetDoubleValue(IntPtr aHandle)

 

static func GetDoubleValue(_ aHandle: IntPtr) -> Double

 

static Double GetDoubleValue(IntPtr aHandle)

Parameters:

  • aHandle:

GetElementById  External

 

class method GetElementById(aId: String): IntPtr

 

static IntPtr GetElementById(String aId)

 

static func GetElementById(_ aId: String) -> IntPtr

 

static IntPtr GetElementById(String aId)

Parameters:

  • aId:

GetElementByName  External

 

class method GetElementByName(aName: String): IntPtr

 

static IntPtr GetElementByName(String aName)

 

static func GetElementByName(_ aName: String) -> IntPtr

 

static IntPtr GetElementByName(String aName)

Parameters:

  • aName:

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetIntValue  External

 

class method GetIntValue(aHandle: IntPtr): Int32

 

static Int32 GetIntValue(IntPtr aHandle)

 

static func GetIntValue(_ aHandle: IntPtr) -> Int32

 

static Int32 GetIntValue(IntPtr aHandle)

Parameters:

  • aHandle:

GetLocaleInfo  External

 

class method GetLocaleInfo(locale: ^Char; localeLength: Int32; info: Int32): Int32

 

static Int32 GetLocaleInfo(Char* locale, Int32 localeLength, Int32 info)

 

static func GetLocaleInfo(_ locale: UnsafeMutablePointer<Char>, _ localeLength: Int32, _ info: Int32) -> Int32

 

static Int32 GetLocaleInfo(Char* locale, Int32 localeLength, Int32 info)

Parameters:

  • locale:
  • localeLength:
  • info:

GetLocalTime  External

 

class method GetLocalTime: Double

 

static Double GetLocalTime()

 

static func GetLocalTime() -> Double

 

static Double GetLocalTime()

GetOSName  External

 

class method GetOSName: Int32

 

static Int32 GetOSName()

 

static func GetOSName() -> Int32

 

static Int32 GetOSName()

GetStringData  External

 

class method GetStringData(handle: Int32; target: ^Char): Int32

 

static Int32 GetStringData(Int32 handle, Char* target)

 

static func GetStringData(_ handle: Int32, _ target: UnsafeMutablePointer<Char>) -> Int32

 

static Int32 GetStringData(Int32 handle, Char* target)

Parameters:

  • handle:
  • target:

GetStringLength  External

 

class method GetStringLength(handle: Int32): Int32

 

static Int32 GetStringLength(Int32 handle)

 

static func GetStringLength(_ handle: Int32) -> Int32

 

static Int32 GetStringLength(Int32 handle)

Parameters:

  • handle:

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

GetTypeOf  External

 

class method GetTypeOf(aHandle: IntPtr): WebAssemblyType

 

static WebAssemblyType GetTypeOf(IntPtr aHandle)

 

static func GetTypeOf(_ aHandle: IntPtr) -> WebAssemblyType

 

static WebAssemblyType GetTypeOf(IntPtr aHandle)

Parameters:

  • aHandle:

GetUTCTime  External

 

class method GetUTCTime: Double

 

static Double GetUTCTime()

 

static func GetUTCTime() -> Double

 

static Double GetUTCTime()

GetWindowObject  External

 

class method GetWindowObject: IntPtr

 

static IntPtr GetWindowObject()

 

static func GetWindowObject() -> IntPtr

 

static IntPtr GetWindowObject()

GrowMemory  External

 

class method GrowMemory(aMemory: Int32; aSize: Int32): Int32

 

static Int32 GrowMemory(Int32 aMemory, Int32 aSize)

 

static func GrowMemory(_ aMemory: Int32, _ aSize: Int32) -> Int32

 

static Int32 GrowMemory(Int32 aMemory, Int32 aSize)

Parameters:

  • aMemory:
  • aSize:

Invoke  External

 

class method Invoke(aPtr: IntPtr; aArgs: ^IntPtr; aArgCount: IntPtr): IntPtr

 

static IntPtr Invoke(IntPtr aPtr, IntPtr* aArgs, IntPtr aArgCount)

 

static func Invoke(_ aPtr: IntPtr, _ aArgs: UnsafeMutablePointer<IntPtr>, _ aArgCount: IntPtr) -> IntPtr

 

static IntPtr Invoke(IntPtr aPtr, IntPtr* aArgs, IntPtr aArgCount)

Parameters:

  • aPtr:
  • aArgs:
  • aArgCount:

MemorySize  External

 

class method MemorySize(aMemory: Int32): Int32

 

static Int32 MemorySize(Int32 aMemory)

 

static func MemorySize(_ aMemory: Int32) -> Int32

 

static Int32 MemorySize(Int32 aMemory)

Parameters:

  • aMemory:

New_WebSocket  External

 

class method New_WebSocket(s: String): IntPtr

 

static IntPtr New_WebSocket(String s)

 

static func New_WebSocket(_ s: String) -> IntPtr

 

static IntPtr New_WebSocket(String s)

Parameters:

  • s:

New_XMLHttpRequest  External

 

class method New_XMLHttpRequest: IntPtr

 

static IntPtr New_XMLHttpRequest()

 

static func New_XMLHttpRequest() -> IntPtr

 

static IntPtr New_XMLHttpRequest()

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

ResponseBinaryTextToArray  External

 

class method ResponseBinaryTextToArray(aSource: IntPtr; aTarget: ^Byte): Int32

 

static Int32 ResponseBinaryTextToArray(IntPtr aSource, Byte* aTarget)

 

static func ResponseBinaryTextToArray(_ aSource: IntPtr, _ aTarget: UnsafeMutablePointer<Byte>) -> Int32

 

static Int32 ResponseBinaryTextToArray(IntPtr aSource, Byte* aTarget)

Parameters:

  • aSource:
  • aTarget:

Set (IntPtr, Int32, IntPtr, Boolean): IntPtr  External

 

class method Set(aSelf: IntPtr; aIdx: Int32; aVal: IntPtr; aReleaseVal: Boolean): IntPtr

 

static IntPtr Set(IntPtr aSelf, Int32 aIdx, IntPtr aVal, Boolean aReleaseVal)

 

static func Set(_ aSelf: IntPtr, _ aIdx: Int32, _ aVal: IntPtr, _ aReleaseVal: Boolean) -> IntPtr

 

static IntPtr Set(IntPtr aSelf, Int32 aIdx, IntPtr aVal, Boolean aReleaseVal)

Parameters:

  • aSelf:
  • aIdx:
  • aVal:
  • aReleaseVal:

Set (IntPtr, String, IntPtr, Boolean): IntPtr  External

 

class method Set(aSelf: IntPtr; aName: String; aVal: IntPtr; aReleaseVal: Boolean): IntPtr

 

static IntPtr Set(IntPtr aSelf, String aName, IntPtr aVal, Boolean aReleaseVal)

 

static func Set(_ aSelf: IntPtr, _ aName: String, _ aVal: IntPtr, _ aReleaseVal: Boolean) -> IntPtr

 

static IntPtr Set(IntPtr aSelf, String aName, IntPtr aVal, Boolean aReleaseVal)

Parameters:

  • aSelf:
  • aName:
  • aVal:
  • aReleaseVal:

SetInterval  External

 

class method SetInterval(del: WebAssemblyDelegate; aTimeout: Int32): IntPtr

 

static IntPtr SetInterval(WebAssemblyDelegate del, Int32 aTimeout)

 

static func SetInterval(_ del: WebAssemblyDelegate, _ aTimeout: Int32) -> IntPtr

 

static IntPtr SetInterval(WebAssemblyDelegate del, Int32 aTimeout)

Parameters:

  • del:
  • aTimeout:

SetTimeout  External

 

class method SetTimeout(del: WebAssemblyDelegate; aTimeout: Int32): IntPtr

 

static IntPtr SetTimeout(WebAssemblyDelegate del, Int32 aTimeout)

 

static func SetTimeout(_ del: WebAssemblyDelegate, _ aTimeout: Int32) -> IntPtr

 

static IntPtr SetTimeout(WebAssemblyDelegate del, Int32 aTimeout)

Parameters:

  • del:
  • aTimeout:

ShowMessage  External

 

class method ShowMessage(message: ^Char; messageLength: Int32)

 

static void ShowMessage(Char* message, Int32 messageLength)

 

static func ShowMessage(_ message: UnsafeMutablePointer<Char>, _ messageLength: Int32)

 

static void ShowMessage(Char* message, Int32 messageLength)

Parameters:

  • message:
  • messageLength:

ToLower  External

 

class method ToLower(val: ^Char; data: Int32; aInvariant: Boolean): Int32

 

static Int32 ToLower(Char* val, Int32 data, Boolean aInvariant)

 

static func ToLower(_ val: UnsafeMutablePointer<Char>, _ data: Int32, _ aInvariant: Boolean) -> Int32

 

static Int32 ToLower(Char* val, Int32 data, Boolean aInvariant)

Parameters:

  • val:
  • data:
  • aInvariant:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

Toupper  External

 

class method Toupper(val: ^Char; data: Int32; aInvariant: Boolean): Int32

 

static Int32 Toupper(Char* val, Int32 data, Boolean aInvariant)

 

static func Toupper(_ val: UnsafeMutablePointer<Char>, _ data: Int32, _ aInvariant: Boolean) -> Int32

 

static Int32 Toupper(Char* val, Int32 data, Boolean aInvariant)

Parameters:

  • val:
  • data:
  • aInvariant:

 

AjaxRequest  External

 

class method AjaxRequest(url: ^Char; urlLength: Int32): Int32

 

static Int32 AjaxRequest(Char* url, Int32 urlLength)

 

static func AjaxRequest(_ url: UnsafeMutablePointer<Char>, _ urlLength: Int32) -> Int32

 

static Int32 AjaxRequest(Char* url, Int32 urlLength)

Parameters:

  • url:
  • urlLength:

AjaxRequestBinary  External

 

class method AjaxRequestBinary(url: ^Char; urlLength: Int32): Int32

 

static Int32 AjaxRequestBinary(Char* url, Int32 urlLength)

 

static func AjaxRequestBinary(_ url: UnsafeMutablePointer<Char>, _ urlLength: Int32) -> Int32

 

static Int32 AjaxRequestBinary(Char* url, Int32 urlLength)

Parameters:

  • url:
  • urlLength:

ArrayLength  External

 

class method ArrayLength(aSelf: IntPtr): Int32

 

static Int32 ArrayLength(IntPtr aSelf)

 

static func ArrayLength(_ aSelf: IntPtr) -> Int32

 

static Int32 ArrayLength(IntPtr aSelf)

Parameters:

  • aSelf:

Call  External

 

class method Call(aSelf: IntPtr; aName: String; aArgs: ^IntPtr; aArgCount: IntPtr; aReleaseArgs: Boolean): IntPtr

 

static IntPtr Call(IntPtr aSelf, String aName, IntPtr* aArgs, IntPtr aArgCount, Boolean aReleaseArgs)

 

static func Call(_ aSelf: IntPtr, _ aName: String, _ aArgs: UnsafeMutablePointer<IntPtr>, _ aArgCount: IntPtr, _ aReleaseArgs: Boolean) -> IntPtr

 

static IntPtr Call(IntPtr aSelf, String aName, IntPtr* aArgs, IntPtr aArgCount, Boolean aReleaseArgs)

Parameters:

  • aSelf:
  • aName:
  • aArgs:
  • aArgCount:
  • aReleaseArgs:

ClearInterval  External

 

class method ClearInterval(aHandle: IntPtr)

 

static void ClearInterval(IntPtr aHandle)

 

static func ClearInterval(_ aHandle: IntPtr)

 

static void ClearInterval(IntPtr aHandle)

Parameters:

  • aHandle:

CloneHandle  External

 

class method CloneHandle(aHandle: IntPtr): IntPtr

 

static IntPtr CloneHandle(IntPtr aHandle)

 

static func CloneHandle(_ aHandle: IntPtr) -> IntPtr

 

static IntPtr CloneHandle(IntPtr aHandle)

Parameters:

  • aHandle:

ConsoleLog (^Char, Int32)  External

 

class method ConsoleLog(s: ^Char; len: Int32)

 

static void ConsoleLog(Char* s, Int32 len)

 

static func ConsoleLog(_ s: UnsafeMutablePointer<Char>, _ len: Int32)

 

static void ConsoleLog(Char* s, Int32 len)

Parameters:

  • s:
  • len:

ConsoleLog (Int32)  External

 

class method ConsoleLog(val: Int32)

 

static void ConsoleLog(Int32 val)

 

static func ConsoleLog(_ val: Int32)

 

static void ConsoleLog(Int32 val)

Parameters:

  • val:

CreateArray  External

 

class method CreateArray: IntPtr

 

static IntPtr CreateArray()

 

static func CreateArray() -> IntPtr

 

static IntPtr CreateArray()

CreateBoolean  External

 

class method CreateBoolean(aVal: Boolean): IntPtr

 

static IntPtr CreateBoolean(Boolean aVal)

 

static func CreateBoolean(_ aVal: Boolean) -> IntPtr

 

static IntPtr CreateBoolean(Boolean aVal)

Parameters:

  • aVal:

CreateDouble  External

 

class method CreateDouble(aVal: Double): IntPtr

 

static IntPtr CreateDouble(Double aVal)

 

static func CreateDouble(_ aVal: Double) -> IntPtr

 

static IntPtr CreateDouble(Double aVal)

Parameters:

  • aVal:

CreateElement  External

 

class method CreateElement(aElement: String): IntPtr

 

static IntPtr CreateElement(String aElement)

 

static func CreateElement(_ aElement: String) -> IntPtr

 

static IntPtr CreateElement(String aElement)

Parameters:

  • aElement:

CreateFunc  External

 

class method CreateFunc(aVal: WebAssemblyDelegate): IntPtr

 

static IntPtr CreateFunc(WebAssemblyDelegate aVal)

 

static func CreateFunc(_ aVal: WebAssemblyDelegate) -> IntPtr

 

static IntPtr CreateFunc(WebAssemblyDelegate aVal)

Parameters:

  • aVal:

CreateInteger  External

 

class method CreateInteger(aVal: Int32): IntPtr

 

static IntPtr CreateInteger(Int32 aVal)

 

static func CreateInteger(_ aVal: Int32) -> IntPtr

 

static IntPtr CreateInteger(Int32 aVal)

Parameters:

  • aVal:

CreateObject  External

 

class method CreateObject: IntPtr

 

static IntPtr CreateObject()

 

static func CreateObject() -> IntPtr

 

static IntPtr CreateObject()

CreateString  External

 

class method CreateString(aVal: String): IntPtr

 

static IntPtr CreateString(String aVal)

 

static func CreateString(_ aVal: String) -> IntPtr

 

static IntPtr CreateString(String aVal)

Parameters:

  • aVal:

CreateTextNode  External

 

class method CreateTextNode(aVal: String): IntPtr

 

static IntPtr CreateTextNode(String aVal)

 

static func CreateTextNode(_ aVal: String) -> IntPtr

 

static IntPtr CreateTextNode(String aVal)

Parameters:

  • aVal:

CryptoSafeRandom  External

 

class method CryptoSafeRandom(target: ^Byte; len: Int32)

 

static void CryptoSafeRandom(Byte* target, Int32 len)

 

static func CryptoSafeRandom(_ target: UnsafeMutablePointer<Byte>, _ len: Int32)

 

static void CryptoSafeRandom(Byte* target, Int32 len)

Parameters:

  • target:
  • len:

DefineGetterSetterProperty  External

 

class method DefineGetterSetterProperty(aSelf: IntPtr; aName: String; aGetter: WebAssemblyDelegate; aSetter: WebAssemblyDelegate; aFlags: EcmaScriptPropertyFlags)

 

static void DefineGetterSetterProperty(IntPtr aSelf, String aName, WebAssemblyDelegate aGetter, WebAssemblyDelegate aSetter, EcmaScriptPropertyFlags aFlags)

 

static func DefineGetterSetterProperty(_ aSelf: IntPtr, _ aName: String, _ aGetter: WebAssemblyDelegate, _ aSetter: WebAssemblyDelegate, _ aFlags: EcmaScriptPropertyFlags)

 

static void DefineGetterSetterProperty(IntPtr aSelf, String aName, WebAssemblyDelegate aGetter, WebAssemblyDelegate aSetter, EcmaScriptPropertyFlags aFlags)

Parameters:

  • aSelf:
  • aName:
  • aGetter:
  • aSetter:
  • aFlags:

DefineValueProperty  External

 

class method DefineValueProperty(aSelf: IntPtr; aName: String; aValue: IntPtr; aFlags: EcmaScriptPropertyFlags)

 

static void DefineValueProperty(IntPtr aSelf, String aName, IntPtr aValue, EcmaScriptPropertyFlags aFlags)

 

static func DefineValueProperty(_ aSelf: IntPtr, _ aName: String, _ aValue: IntPtr, _ aFlags: EcmaScriptPropertyFlags)

 

static void DefineValueProperty(IntPtr aSelf, String aName, IntPtr aValue, EcmaScriptPropertyFlags aFlags)

Parameters:

  • aSelf:
  • aName:
  • aValue:
  • aFlags:

EnumerateKnownTypes  External

 

class method EnumerateKnownTypes(aData: Object; aCB: KnownTypesEnumerator)

 

static void EnumerateKnownTypes(Object aData, KnownTypesEnumerator aCB)

 

static func EnumerateKnownTypes(_ aData: Object, _ aCB: KnownTypesEnumerator)

 

static void EnumerateKnownTypes(Object aData, KnownTypesEnumerator aCB)

Parameters:

  • aData:
  • aCB:

Eval  External

 

class method Eval(aVal: String): IntPtr

 

static IntPtr Eval(String aVal)

 

static func Eval(_ aVal: String) -> IntPtr

 

static IntPtr Eval(String aVal)

Parameters:

  • aVal:

FreeHandle  External

 

class method FreeHandle(handle: Int32)

 

static void FreeHandle(Int32 handle)

 

static func FreeHandle(_ handle: Int32)

 

static void FreeHandle(Int32 handle)

Parameters:

  • handle:

Get  External

 

class method Get(aSelf: IntPtr; aName: String): IntPtr

 

static IntPtr Get(IntPtr aSelf, String aName)

 

static func Get(_ aSelf: IntPtr, _ aName: String) -> IntPtr

 

static IntPtr Get(IntPtr aSelf, String aName)

Parameters:

  • aSelf:
  • aName:

GetArray  External

 

class method GetArray(aSelf: IntPtr; aIdx: Int32): IntPtr

 

static IntPtr GetArray(IntPtr aSelf, Int32 aIdx)

 

static func GetArray(_ aSelf: IntPtr, _ aIdx: Int32) -> IntPtr

 

static IntPtr GetArray(IntPtr aSelf, Int32 aIdx)

Parameters:

  • aSelf:
  • aIdx:

GetCurrentLocale  External

 

class method GetCurrentLocale: Int32

 

static Int32 GetCurrentLocale()

 

static func GetCurrentLocale() -> Int32

 

static Int32 GetCurrentLocale()

GetDoubleValue  External

 

class method GetDoubleValue(aHandle: IntPtr): Double

 

static Double GetDoubleValue(IntPtr aHandle)

 

static func GetDoubleValue(_ aHandle: IntPtr) -> Double

 

static Double GetDoubleValue(IntPtr aHandle)

Parameters:

  • aHandle:

GetElementById  External

 

class method GetElementById(aId: String): IntPtr

 

static IntPtr GetElementById(String aId)

 

static func GetElementById(_ aId: String) -> IntPtr

 

static IntPtr GetElementById(String aId)

Parameters:

  • aId:

GetElementByName  External

 

class method GetElementByName(aName: String): IntPtr

 

static IntPtr GetElementByName(String aName)

 

static func GetElementByName(_ aName: String) -> IntPtr

 

static IntPtr GetElementByName(String aName)

Parameters:

  • aName:

GetIntValue  External

 

class method GetIntValue(aHandle: IntPtr): Int32

 

static Int32 GetIntValue(IntPtr aHandle)

 

static func GetIntValue(_ aHandle: IntPtr) -> Int32

 

static Int32 GetIntValue(IntPtr aHandle)

Parameters:

  • aHandle:

GetLocaleInfo  External

 

class method GetLocaleInfo(locale: ^Char; localeLength: Int32; info: Int32): Int32

 

static Int32 GetLocaleInfo(Char* locale, Int32 localeLength, Int32 info)

 

static func GetLocaleInfo(_ locale: UnsafeMutablePointer<Char>, _ localeLength: Int32, _ info: Int32) -> Int32

 

static Int32 GetLocaleInfo(Char* locale, Int32 localeLength, Int32 info)

Parameters:

  • locale:
  • localeLength:
  • info:

GetLocalTime  External

 

class method GetLocalTime: Double

 

static Double GetLocalTime()

 

static func GetLocalTime() -> Double

 

static Double GetLocalTime()

GetOSName  External

 

class method GetOSName: Int32

 

static Int32 GetOSName()

 

static func GetOSName() -> Int32

 

static Int32 GetOSName()

GetStringData  External

 

class method GetStringData(handle: Int32; target: ^Char): Int32

 

static Int32 GetStringData(Int32 handle, Char* target)

 

static func GetStringData(_ handle: Int32, _ target: UnsafeMutablePointer<Char>) -> Int32

 

static Int32 GetStringData(Int32 handle, Char* target)

Parameters:

  • handle:
  • target:

GetStringLength  External

 

class method GetStringLength(handle: Int32): Int32

 

static Int32 GetStringLength(Int32 handle)

 

static func GetStringLength(_ handle: Int32) -> Int32

 

static Int32 GetStringLength(Int32 handle)

Parameters:

  • handle:

GetTypeOf  External

 

class method GetTypeOf(aHandle: IntPtr): WebAssemblyType

 

static WebAssemblyType GetTypeOf(IntPtr aHandle)

 

static func GetTypeOf(_ aHandle: IntPtr) -> WebAssemblyType

 

static WebAssemblyType GetTypeOf(IntPtr aHandle)

Parameters:

  • aHandle:

GetUTCTime  External

 

class method GetUTCTime: Double

 

static Double GetUTCTime()

 

static func GetUTCTime() -> Double

 

static Double GetUTCTime()

GetWindowObject  External

 

class method GetWindowObject: IntPtr

 

static IntPtr GetWindowObject()

 

static func GetWindowObject() -> IntPtr

 

static IntPtr GetWindowObject()

GrowMemory  External

 

class method GrowMemory(aMemory: Int32; aSize: Int32): Int32

 

static Int32 GrowMemory(Int32 aMemory, Int32 aSize)

 

static func GrowMemory(_ aMemory: Int32, _ aSize: Int32) -> Int32

 

static Int32 GrowMemory(Int32 aMemory, Int32 aSize)

Parameters:

  • aMemory:
  • aSize:

Invoke  External

 

class method Invoke(aPtr: IntPtr; aArgs: ^IntPtr; aArgCount: IntPtr): IntPtr

 

static IntPtr Invoke(IntPtr aPtr, IntPtr* aArgs, IntPtr aArgCount)

 

static func Invoke(_ aPtr: IntPtr, _ aArgs: UnsafeMutablePointer<IntPtr>, _ aArgCount: IntPtr) -> IntPtr

 

static IntPtr Invoke(IntPtr aPtr, IntPtr* aArgs, IntPtr aArgCount)

Parameters:

  • aPtr:
  • aArgs:
  • aArgCount:

MemorySize  External

 

class method MemorySize(aMemory: Int32): Int32

 

static Int32 MemorySize(Int32 aMemory)

 

static func MemorySize(_ aMemory: Int32) -> Int32

 

static Int32 MemorySize(Int32 aMemory)

Parameters:

  • aMemory:

New_WebSocket  External

 

class method New_WebSocket(s: String): IntPtr

 

static IntPtr New_WebSocket(String s)

 

static func New_WebSocket(_ s: String) -> IntPtr

 

static IntPtr New_WebSocket(String s)

Parameters:

  • s:

New_XMLHttpRequest  External

 

class method New_XMLHttpRequest: IntPtr

 

static IntPtr New_XMLHttpRequest()

 

static func New_XMLHttpRequest() -> IntPtr

 

static IntPtr New_XMLHttpRequest()

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

ResponseBinaryTextToArray  External

 

class method ResponseBinaryTextToArray(aSource: IntPtr; aTarget: ^Byte): Int32

 

static Int32 ResponseBinaryTextToArray(IntPtr aSource, Byte* aTarget)

 

static func ResponseBinaryTextToArray(_ aSource: IntPtr, _ aTarget: UnsafeMutablePointer<Byte>) -> Int32

 

static Int32 ResponseBinaryTextToArray(IntPtr aSource, Byte* aTarget)

Parameters:

  • aSource:
  • aTarget:

Set (IntPtr, Int32, IntPtr, Boolean): IntPtr  External

 

class method Set(aSelf: IntPtr; aIdx: Int32; aVal: IntPtr; aReleaseVal: Boolean): IntPtr

 

static IntPtr Set(IntPtr aSelf, Int32 aIdx, IntPtr aVal, Boolean aReleaseVal)

 

static func Set(_ aSelf: IntPtr, _ aIdx: Int32, _ aVal: IntPtr, _ aReleaseVal: Boolean) -> IntPtr

 

static IntPtr Set(IntPtr aSelf, Int32 aIdx, IntPtr aVal, Boolean aReleaseVal)

Parameters:

  • aSelf:
  • aIdx:
  • aVal:
  • aReleaseVal:

Set (IntPtr, String, IntPtr, Boolean): IntPtr  External

 

class method Set(aSelf: IntPtr; aName: String; aVal: IntPtr; aReleaseVal: Boolean): IntPtr

 

static IntPtr Set(IntPtr aSelf, String aName, IntPtr aVal, Boolean aReleaseVal)

 

static func Set(_ aSelf: IntPtr, _ aName: String, _ aVal: IntPtr, _ aReleaseVal: Boolean) -> IntPtr

 

static IntPtr Set(IntPtr aSelf, String aName, IntPtr aVal, Boolean aReleaseVal)

Parameters:

  • aSelf:
  • aName:
  • aVal:
  • aReleaseVal:

SetInterval  External

 

class method SetInterval(del: WebAssemblyDelegate; aTimeout: Int32): IntPtr

 

static IntPtr SetInterval(WebAssemblyDelegate del, Int32 aTimeout)

 

static func SetInterval(_ del: WebAssemblyDelegate, _ aTimeout: Int32) -> IntPtr

 

static IntPtr SetInterval(WebAssemblyDelegate del, Int32 aTimeout)

Parameters:

  • del:
  • aTimeout:

SetTimeout  External

 

class method SetTimeout(del: WebAssemblyDelegate; aTimeout: Int32): IntPtr

 

static IntPtr SetTimeout(WebAssemblyDelegate del, Int32 aTimeout)

 

static func SetTimeout(_ del: WebAssemblyDelegate, _ aTimeout: Int32) -> IntPtr

 

static IntPtr SetTimeout(WebAssemblyDelegate del, Int32 aTimeout)

Parameters:

  • del:
  • aTimeout:

ShowMessage  External

 

class method ShowMessage(message: ^Char; messageLength: Int32)

 

static void ShowMessage(Char* message, Int32 messageLength)

 

static func ShowMessage(_ message: UnsafeMutablePointer<Char>, _ messageLength: Int32)

 

static void ShowMessage(Char* message, Int32 messageLength)

Parameters:

  • message:
  • messageLength:

ToLower  External

 

class method ToLower(val: ^Char; data: Int32; aInvariant: Boolean): Int32

 

static Int32 ToLower(Char* val, Int32 data, Boolean aInvariant)

 

static func ToLower(_ val: UnsafeMutablePointer<Char>, _ data: Int32, _ aInvariant: Boolean) -> Int32

 

static Int32 ToLower(Char* val, Int32 data, Boolean aInvariant)

Parameters:

  • val:
  • data:
  • aInvariant:

Toupper  External

 

class method Toupper(val: ^Char; data: Int32; aInvariant: Boolean): Int32

 

static Int32 Toupper(Char* val, Int32 data, Boolean aInvariant)

 

static func Toupper(_ val: UnsafeMutablePointer<Char>, _ data: Int32, _ aInvariant: Boolean) -> Int32

 

static Int32 Toupper(Char* val, Int32 data, Boolean aInvariant)

Parameters:

  • val:
  • data:
  • aInvariant:

 

constructor  protected

 

constructor

 

WebAssemblyCalls()

 

init()

 

WebAssemblyCalls()

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()