RE: [tcltk-perl] What version of perl is required?
Brought to you by:
hobbs
From: Jeff H. <je...@Ac...> - 2004-04-14 21:38:40
|
> > Related question is what versions of 'tcl' is the Tcl.pm supposed to > > be compatible with? > My dream is to have something like Tcl.xs and Tcl800.xs, and > Tcl800.xs could just contain old non-Unicodish > non-tcl-Object, just to have working bridge even for such cases.. My dream is that people realize 8.0 is 7 years old and used newer versions of Tcl. However, if you wanted to support it, the only thing you need to fix is Tcl_GetString (that was added in 8.1, but is simply Tcl_GetStringFromObj(var, NULL)) and Tcl_FindExecutable (that's 8.1+). I reference tclStringTypePtr (8.1+) and tclWideIntTypePtr (8.4+), but don't actually use them yet, so there is no issue there (they will be NULL). All the object stuff is correct in 8.0. I'm not using the Tcl unicode routines in Tcl.xs, so there's no issue there. Tcl::Tk does have some Tk 8.4 references as well, but I don't think that's a big deal (for example, labelframe and panedwindow are both 8.4+ widgets, but if you don't use them, no problem). Jeff |