class documentation
Lets the user set and retrieve referenced variables like a pointer does. Not sure exactly how to emulate pointers to normal variables yet.
USAGE a_ptr = Pointer(7) b_ptr = Pointer(8)
a_ptr.ref = b_ptr.ref print(a_ptr) # '8'
b_ptr.val = 10 print(a_ptr) # '10'
Method | __init__ |
Undocumented |
Method | ref |
Set the reference object, i.e., change the internal list |
Method | val |
set the value stored in the referece, i.e., the single list element |
Class Variable | __slots__ |
Undocumented |
Property | ref |
Get the "reference" object, i.e., the internal list |
Property | val |
get the value stored in the reference, i.e., the single list element |
Instance Variable | __ref |
Undocumented |