12/15/2023 0 Comments Tcl dictionariesTcl dict objects have an internal representation that supports Sub-dictionaries of the main dictionary object passed to them. Use to locate the key/value pair to manipulate within the Tcl_DictObjPutKeyList and Tcl_DictObjRemoveKeyList will Indicates the number of keys that will be supplied in the keyv When the enumeration of the key/value pairs in a dictionary has Points to a variable that will have a non-zero value written into it Tcl_DictObjDone to enable the internal locks to be released. Returned, the search record must be passed to Is to be terminated before all values in the dictionary have been Initialised by the call to Tcl_DictObjFirst. Pointer to record to use to keep track of progress in enumerating all Points to a variable that will have the number of key/value pairsĬontained within the dictionary placed within it. May be NULL to indicate that the caller is not Points to a variable that will have the key from a key/value pair Tcl_DictObjNext, this may be NULL to indicate that the caller is Points to a variable that will have the value from a key/value pair Points to the value for the key/value pair being manipulate within theĭictionary object (or sub-object, in the case of Points to the key for the key/value pair being manipulated within the If dictPtr does not already point to a dictionary object,Īn attempt will be made to convert it to one. Points to the dictionary object to be manipulated. If an error occurs while converting an object to be a dictionary object,Īn error message is left in the interpreter's result object Tcl_DictObjRemoveKeyList( interp, dictPtr, keyc, keyv) Tcl_DictObjPutKeyList( interp, dictPtr, keyc, keyv, valuePtr) Tcl_DictObjNext( searchPtr, keyPtrPtr, valuePtrPtr, donePtr) Tcl_DictObjFirst( interp, dictPtr, searchPtr, keyPtrPtr, valuePtrPtr, donePtr) Tcl_DictObjSize( interp, dictPtr, sizePtr) Tcl_DictObjRemove( interp, dictPtr, keyPtr) Tcl_DictObjPut( interp, dictPtr, keyPtr, valuePtr) Tcl_DictObjGet( interp, dictPtr, keyPtr, valuePtrPtr) Tcl_NewDictObj, Tcl_DictObjPut, Tcl_DictObjGet, Tcl_DictObjRemove, Tcl_DictObjSize, Tcl_DictObjFirst, Tcl_DictObjNext, Tcl_DictObjDone, Tcl_DictObjPutKeyList, Tcl_DictObjRemoveKeyList - manipulate Tcl objects as dictionaries Tcl Library Procedures - Tcl_DictObj manual page NAME
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |