SimpleGC

Overview

Simple single threaded garbage collector. Used from WebAssembly.

Location

Implements

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

SimpleGC()

 

init()

 

SimpleGC()

constructor Copy(SimpleGC)

 

constructor Copy(var aValue: SimpleGC)

 

SimpleGC Copy(ref SimpleGC aValue)

 

init(Copy aValue: SimpleGC)

 

SimpleGC Copy(__ref SimpleGC aValue)

Parameters:

  • aValue:

AddRef

 

class method AddRef(o: ^IntPtr)

 

static void AddRef(IntPtr* o)

 

static func AddRef(_ o: UnsafeMutablePointer<IntPtr>)

 

static void AddRef(IntPtr* o)

Parameters:

  • o:

Assign

 

class method Assign(var aDest: SimpleGC; var aSource: SimpleGC)

 

static void Assign(ref SimpleGC aDest, ref SimpleGC aSource)

 

static func Assign(_ aDest: SimpleGC, _ aSource: SimpleGC)

 

static void Assign(__ref SimpleGC aDest, __ref SimpleGC aSource)

Parameters:

  • aDest:
  • aSource:

Copy

 

class method Copy(var aDest: SimpleGC; var aSource: SimpleGC)

 

static void Copy(ref SimpleGC aDest, ref SimpleGC aSource)

 

static func Copy(_ aDest: SimpleGC, _ aSource: SimpleGC)

 

static void Copy(__ref SimpleGC aDest, __ref SimpleGC aSource)

Parameters:

  • aDest:
  • aSource:

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()

ForceAddRef

 

class method ForceAddRef(ptr: IntPtr)

 

static void ForceAddRef(IntPtr ptr)

 

static func ForceAddRef(_ ptr: IntPtr)

 

static void ForceAddRef(IntPtr ptr)

Parameters:

  • ptr:

ForceRelease

 

class method ForceRelease(ptr: IntPtr)

 

static void ForceRelease(IntPtr ptr)

 

static func ForceRelease(_ ptr: IntPtr)

 

static void ForceRelease(IntPtr ptr)

Parameters:

  • ptr:

GC

 

class method GC(aWait: Boolean)

 

static void GC(Boolean aWait)

 

static func GC(_ aWait: Boolean)

 

static void GC(Boolean aWait)

Parameters:

  • aWait:

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()

Init

 

class method Init(var Dest: SimpleGC)

 

static void Init(ref SimpleGC Dest)

 

static func Init(_ Dest: SimpleGC)

 

static void Init(__ref SimpleGC Dest)

Parameters:

  • Dest:

New

 

class method New(aTTY: ^void; aSize: IntPtr): ^void

 

static void* New(void* aTTY, IntPtr aSize)

 

static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: IntPtr) -> UnsafeMutablePointer<void>

 

static void* New(void* aTTY, IntPtr aSize)

Parameters:

  • aTTY:
  • aSize:

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

RegisterThread

 

class method RegisterThread: Int32

 

static Int32 RegisterThread()

 

static func RegisterThread() -> Int32

 

static Int32 RegisterThread()

Release (^IntPtr)

 

class method Release(o: ^IntPtr)

 

static void Release(IntPtr* o)

 

static func Release(_ o: UnsafeMutablePointer<IntPtr>)

 

static void Release(IntPtr* o)

Parameters:

  • o:

Release (SimpleGC)

 

class method Release(var aDest: SimpleGC)

 

static void Release(ref SimpleGC aDest)

 

static func Release(_ aDest: SimpleGC)

 

static void Release(__ref SimpleGC aDest)

Parameters:

  • aDest:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

UnregisterThread

 

class method UnregisterThread: Int32

 

static Int32 UnregisterThread()

 

static func UnregisterThread() -> Int32

 

static Int32 UnregisterThread()

 

AddRef

 

class method AddRef(o: ^IntPtr)

 

static void AddRef(IntPtr* o)

 

static func AddRef(_ o: UnsafeMutablePointer<IntPtr>)

 

static void AddRef(IntPtr* o)

Parameters:

  • o:

Assign

 

class method Assign(var aDest: SimpleGC; var aSource: SimpleGC)

 

static void Assign(ref SimpleGC aDest, ref SimpleGC aSource)

 

static func Assign(_ aDest: SimpleGC, _ aSource: SimpleGC)

 

static void Assign(__ref SimpleGC aDest, __ref SimpleGC aSource)

Parameters:

  • aDest:
  • aSource:

Copy

 

class method Copy(var aDest: SimpleGC; var aSource: SimpleGC)

 

static void Copy(ref SimpleGC aDest, ref SimpleGC aSource)

 

static func Copy(_ aDest: SimpleGC, _ aSource: SimpleGC)

 

static void Copy(__ref SimpleGC aDest, __ref SimpleGC aSource)

Parameters:

  • aDest:
  • aSource:

ForceAddRef

 

class method ForceAddRef(ptr: IntPtr)

 

static void ForceAddRef(IntPtr ptr)

 

static func ForceAddRef(_ ptr: IntPtr)

 

static void ForceAddRef(IntPtr ptr)

Parameters:

  • ptr:

ForceRelease

 

class method ForceRelease(ptr: IntPtr)

 

static void ForceRelease(IntPtr ptr)

 

static func ForceRelease(_ ptr: IntPtr)

 

static void ForceRelease(IntPtr ptr)

Parameters:

  • ptr:

GC

 

class method GC(aWait: Boolean)

 

static void GC(Boolean aWait)

 

static func GC(_ aWait: Boolean)

 

static void GC(Boolean aWait)

Parameters:

  • aWait:

Init

 

class method Init(var Dest: SimpleGC)

 

static void Init(ref SimpleGC Dest)

 

static func Init(_ Dest: SimpleGC)

 

static void Init(__ref SimpleGC Dest)

Parameters:

  • Dest:

New

 

class method New(aTTY: ^void; aSize: IntPtr): ^void

 

static void* New(void* aTTY, IntPtr aSize)

 

static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: IntPtr) -> UnsafeMutablePointer<void>

 

static void* New(void* aTTY, IntPtr aSize)

Parameters:

  • aTTY:
  • aSize:

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

RegisterThread

 

class method RegisterThread: Int32

 

static Int32 RegisterThread()

 

static func RegisterThread() -> Int32

 

static Int32 RegisterThread()

Release (^IntPtr)

 

class method Release(o: ^IntPtr)

 

static void Release(IntPtr* o)

 

static func Release(_ o: UnsafeMutablePointer<IntPtr>)

 

static void Release(IntPtr* o)

Parameters:

  • o:

Release (SimpleGC)

 

class method Release(var aDest: SimpleGC)

 

static void Release(ref SimpleGC aDest)

 

static func Release(_ aDest: SimpleGC)

 

static void Release(__ref SimpleGC aDest)

Parameters:

  • aDest:

UnregisterThread

 

class method UnregisterThread: Int32

 

static Int32 UnregisterThread()

 

static func UnregisterThread() -> Int32

 

static Int32 UnregisterThread()

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

SimpleGC()

 

init()

 

SimpleGC()

constructor Copy(SimpleGC)

 

constructor Copy(var aValue: SimpleGC)

 

SimpleGC Copy(ref SimpleGC aValue)

 

init(Copy aValue: SimpleGC)

 

SimpleGC Copy(__ref SimpleGC aValue)

Parameters:

  • aValue:

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()