Skip to content
Tcl Source Code Artifact [dbdb2a9c25]
Login

Artifact [dbdb2a9c25]

Artifact dbdb2a9c2556da16e9ba118a4c96ea7b4d57c509:

Ticket change [dbdb2a9c25] - Ticket [1178805fffffffff|1178805fff] <i>empty lists cause nasty surprises</i> status still Open with 4 other changes by jenglish on 2005-04-08 02:53:54.
D 2005-04-08T02:53:54
J icomment Logged\sIn:\sYES\s\nuser_id=68433\n\nIt's\snot\sentirely\sclear\swhether\sthe\smanpage\sguarantees\sthis\nbehavior\sor\snot,\sbut\sit\sdoes\sseem\sstrongly\simplied.\n\n"If\slistPtr\sis\snot\salready\sa\slist\sobject,\nTcl_ListObjGetElements\swill\sattempt\sto\sconvert\sit\s\sto\sone;\nif\sthe\sconversion\sfails,\sit\sreturns\sTCL_ERROR\s[\s...\s]\nOtherwise\sit\sreturns\sTCL_OK\s[...]"\n\nI\salways\stook\sthat\sto\smean\sthat\sif\nTcl_ListObjGetElements(...,\sobjPtr,\s..)\sreturns\sTCL_OK,\sthen\nobjPtr\sis\snow\sa\slist\sobject\s(which\sI\salso\stook\sto\smean,\s"the\ntypePtr\sand\sinternal\srepresentation\sfields\sare\sset\sas\ndescribed\sabove").\n\n
J login jenglish
J mimetype text/plain
J username jenglish
K 1178805fffffffffffffffffffffffffffffffff
U jenglish
Z d987f9c9fa003dd70046a3cabefb92d0