Skip to content
Tcl Source Code Artifact [18668af3b6]
Login

Artifact [18668af3b6]

Artifact 18668af3b635c4ac09270c3a05d2a9176bc51e91b3887eb56252c16f02746b8a:

Wiki page [branch/object-clone-in-c] by dkf on 2025-09-01 16:12:13.
D 2025-09-01T16:12:13.843
L branch/object-clone-in-c
N text/x-markdown
U dkf
W 381
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.
Z c1c4726e8346c432c61a58d4fab69871