diff options
| author | Omar Rizwan <omar@omar.website> | 2022-12-17 01:35:54 +0000 |
|---|---|---|
| committer | Omar Rizwan <omar@omar.website> | 2022-12-17 01:35:54 +0000 |
| commit | eaa57fdc7b3ac79cae4dbebd7492fa58afc99338 (patch) | |
| tree | a8d08693b64affaee05f7f68eee1e479e58605d8 /lib | |
| parent | images.folk (diff) | |
| download | folk-eaa57fdc7b3ac79cae4dbebd7492fa58afc99338.tar.gz folk-eaa57fdc7b3ac79cae4dbebd7492fa58afc99338.zip | |
minor cleanup
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/c.tcl | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -186,20 +186,3 @@ namespace eval c { namespace export * namespace ensemble create } - -# FIXME: legacy critcl stuff below: - -if {![info exists ::livecprocs]} {set ::livecprocs [dict create]} -proc livecproc {name args} { - if {[dict exists $::livecprocs $name $args]} { - # promote this proc - dict set ::livecprocs $name [dict create $args [dict get $::livecprocs $name $args]] - } else { ;# compile - critcl::cproc $name$::stepCount {*}$args - dict set ::livecprocs $name $args $name$::stepCount - } - proc $name {args} { - set name [lindex [info level 0] 0] - [lindex [dict values [dict get $::livecprocs $name]] end] {*}$args - } -} |
