Clarification of 'A reasonable C API for enumerating an array'
Opened this issue · 2 comments
schlenk commented
Is this just asking to get a nicer C-level access to the already available 'array startsearch', 'array nextelement' etc., which is currently only accessible via Tcl_eval
?
Those are mentioned as 'will probably be removed in 9.0', in the wiki, so probably needs some sorting out what direction things go with array iteration anyway.
lehenbauer commented
In C it is easy to get the value of an element of an array but it is difficult to enumerate the elements of the array without using Tcl_Eval... a C equivalent to "foreach var [array names myArray]"