R
Robert Lario
I understand how to create a new class in memory, but I want to "Instrument
" an exisiting object. for example when an object is passed to a function
called foo, from within foo I want to add a new bool attribute to that
instance/type (if it has not already been added).
anybody have any ideas on how to solve this?
" an exisiting object. for example when an object is passed to a function
called foo, from within foo I want to add a new bool attribute to that
instance/type (if it has not already been added).
anybody have any ideas on how to solve this?