Overview
| Comment: | Remove most instances of TCL_LEAVE_ERR_MSG in favor of making Tcl_Array*() functions treat nonexistent and scalar variables as empty arrays and always reporting other kinds of errors, was very confusing having the absence of TCL_LEAVE_ERR_MSG only inhibiting variable lookup errors. Clean up documentation throughout. Merge ArraySize() into Tcl_ArraySize() and make ArraySizeCmd() use Tcl_ArraySize() directly now that the error handling policy is consistent. Rename *existsPtr to *intPtr for consistency with other public functions. Change Tcl_ArraySize() to use *intPtr to report the size rather than returning it. |
|---|---|
| Timelines: | family | ancestors | descendants | both | amg-array-enum-c-api |
| Files: | files | file ages | folders |
| SHA1: |
325336d17e683ad45bfd598b41d3daf6 |
| User & Date: | andy on 2016-11-28 01:20:41.188 |
| Other Links: | branch diff | manifest | tags |
Context
|
2016-11-28
| ||
| 02:35 | Change Tcl_ArraySet() to always report errors without having to specify TCL_LEAVE_ERR_MSG check-in: 7cb4aff8e5 user: andy tags: amg-array-enum-c-api | |
| 01:20 | Remove most instances of TCL_LEAVE_ERR_MSG in favor of making Tcl_Array*() functions treat nonexiste... check-in: 325336d17e user: andy tags: amg-array-enum-c-api | |
|
2016-11-27
| ||
| 20:37 | Change TCL_MATCH_GLOB to avoid collision with the deprecated TCL_PARSE_PART1 flag check-in: 720f8dc660 user: andy tags: amg-array-enum-c-api | |
Changes
Modified generic/tcl.decls
from [43ecc76a95]
to [8cf751532a].
[diff]
Modified generic/tclDecls.h
from [47cb9dceac]
to [7cb3911443].
[diff]
Modified generic/tclVar.c
from [2489f4451d]
to [867509229f].
[diff]