Hi,
I would to implement [kind of] properties in C module, so it will be
possible to access some variables like obj->prop. I tried
map_variable() first, but it doesn't work well - it's value can be
changed outside of object (may be there is an attribute to disable
this?), and - it cannot be (safely) extracted with get_all_args() -
since size of Pike's int/float is not necessary same as size of C
int/float (and I don't want to use Pike types everywhere in C data
structures).
So... The logical way is to implement `->() function, but I don't
know how to do this in C (not exactly). In Pike, I can use something
like ::`->() to call predefined (original) indexing operator, so what
should I do in C? Or, more precise, how?
Regards,
/Al