ID:2970173
![]() Apr 18, 1:39 pm
|
|||||||
| |||||||
A function to get a reference to the variable itself, rather than the stored value. We already have ReadPointer and WritePointer, so why must we jump through Byond_CallGlobal() hoops to actually GET a pointer for these?
|
Login to reply.
- object.var
- list[index]
- global var
- proc var
- proc arg
- proc usr
- proc src
- proc .
I might be forgetting one. Anyway there's really no way to grab a /callee's local vars by name, and usr/src/. pointers seem like they'd be iffy, but the first three would be very good Byondapi targets.
Probably the way I'd handle this would be one call with an enum for the pointer type.