Skip to content
Tcl Source Code Changes To branch/object-clone-in-c
Login

Changes To branch/object-clone-in-c

Initial version of "branch/object-clone-in-c"




1
2
3
+
+
+
This branch is about making the basic `<cloned>` callback for `oo::object` be written in C rather than messy Tcl code.

I'd been putting off doing anything about this since I first wrote the `oo::copy` implementation; this is messy and a bit complicated. But actually having done this, it doesn't seem so bad any more; just quite a lot more verbose than the Tcl code it replaces.