Skip to content

Commit

Permalink
Add tcl::oo for Tcl 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
Poor Yorick committed Sep 17, 2024
1 parent 1764e8b commit 85ddaba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion modules/virtchannel_base/string.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
# # ## ### ##### ######## #############

package require Tcl 8.5 9
package require TclOO
if {[catch {package require tcl::oo}]} {
package require TclOO
}
package require tcl::chan::events

# # ## ### ##### ######## #############
Expand Down
4 changes: 3 additions & 1 deletion modules/virtchannel_core/core.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
# # ## ### ##### ######## #############

package require Tcl 8.5 9
package require TclOO
if {[catch {package require tcl::oo}]} {
package require TclOO
}

# # ## ### ##### ######## #############

Expand Down
4 changes: 3 additions & 1 deletion modules/virtchannel_core/events.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
# # ## ### ##### ######## #############

package require Tcl 8.5 9
package require TclOO
if {[catch {package require tcl::oo}]} {
package require TclOO
}
package require tcl::chan::core

# # ## ### ##### ######## #############
Expand Down

0 comments on commit 85ddaba

Please sign in to comment.