class
FWolangObjectBridge
- Module
- Scripting
- Header
#include "Scripting/WolangObjectBridge.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
void | Retain | |
void | Release | |
bool | Alive | |
uint64_t | Token | Tells two objects apart that lived at one address one after the other: the slot's serial and index, asked only of an object Alive answered yes for. |
uint32_t | PropertyOffset | |
void | Remember | An object the engine is about to hand a script, recorded while it is certainly alive so a weak var that ends up holding it is answered from its slot. |
size_t | GetRememberedCount | |
FWolangObjectLedger& | Orphans | Retains and releases that arrived on a thread running no engine call into a vm (none should): counted here so nothing is lost. |
Function details
Retain
C++
static void Retain(void* object)Release
C++
static void Release(void* object)Alive
C++
static bool Alive(const void* object)Token
C++
static uint64_t Token(const void* object)Tells two objects apart that lived at one address one after the other: the slot's serial and index, asked only of an object Alive answered yes for. A weak var remembers it when it is assigned, which closes the address-reuse hole Alive alone cannot.
PropertyOffset
C++
static uint32_t PropertyOffset(const char* className, const char* key)Remember
C++
static void Remember(const MObject* object)An object the engine is about to hand a script, recorded while it is certainly alive so a weak var that ends up holding it is answered from its slot. Objects a bound function returns are found by a scan on first use.
GetRememberedCount
C++
static size_t GetRememberedCount()Orphans
C++
static FWolangObjectLedger& Orphans()Retains and releases that arrived on a thread running no engine call into a vm (none should): counted here so nothing is lost.
Generated from Scripting/WolangObjectBridge.h via scripting.json · Nov 3, 2026Version 1.0.0