I need the original variable be affected by the changes to the other variable, in the other object. I.e. all the other objects should contain only references to the original variable, kinda shared storage. The thing is that the "inferior" object, the one which contains the aliased variable, doesn't know anything about the higher level object - thus it cannot access it directly (from Pike).
/ Marek Habersack (Grendel)
Previous text:
2002-09-06 20:22: Subject: Mapping a variable in an object from C
If you just want to access the storage of another object directly, you can use get_storage(). Then the object has to be of that particular class (or inherit it) of course, otherwise get_storage() will return NULL.
If you need it to work with any object which has a variable "somevar" then you need to do something different.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)