MCPcopy Create free account
hub / github.com/cvet/fonline / GetGenericArgSlot

Function GetGenericArgSlot

Source/Scripting/AngelScript/AngelScriptCall.cpp:309–320  ·  view source on GitHub ↗

AngelScript passes reference parameters as a pointer on the stack: GetAddressOfArg() returns the address of that stack slot (T**), while the unified FuncCallData slot contract (shared with the managed backend and consumed by NativeDataCaller) is "address of the caller's variable" - the value itself for primitives/enums/value types (T*) and the handle cell for object handles ('Type@&'). Mutability

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ScriptGenericCallFunction · 0.85

Calls 3

GetGenericArgAddressFunction · 0.85
GetGenericAddressArgFunction · 0.85
as_ptrMethod · 0.45

Tested by

no test coverage detected