New feature: Added method nx::Object->"info consts" A "const" is a variable that cannot be altered later. So far, such constant variables have to be created via the Tcl9 "const" cmd, like in the example below. The introspection method "/obj/ info consts" is very similar to "/obj/ info vars", but it lists only unmodifiable variables.
nx::Object create o { # # Create a "const" instance variable # const :x 1 set :y 2 ... } puts [o info consts] puts [o info vars]
fix for issue #4; Memory leak of NsfMethodContext with Tcl9 Ths is not a fully satisfying fix, since it just fixes the symptom, not the cause. Also the old variant is supposed to run free of this issue. However, we are talking here about a single Tcl_Obj inside the nx object system, so the harm is very limited. More details in the ticket.