Artifact efac907dbad84b8c201083f1ea56ff5a87e5b629:
- File generic/tclBinary.c — part of check-in [271dbffaf7] at 2013-02-11 15:53:09 on branch no-register-objtypes — Still to be TIP'ed. In this branch objTypes are not registered to Tcl any more, and still can do everything. It proves that Tcl_ConvertToType and the toAnyProc in thc Tcl_ObjType struct can be safely removed. Conversion to any specific type must be done by the "Tcl_GetXXXFromObj" type functions. One objType which didn't have such a function yet: "end-offset". This branch replaces this type by an "index" objType with its own Tcl_GetIntForIndex function (which functions the same as the currently private TclGetIntForIndex, only faster...). In addition, it affects Tcl_GetBoolean, which now follows the same same parsing rules as Tcl_GetBooleanFromObj. (user: jan.nijtmans size: 71101)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.