<i>empty lists cause nasty surprises</i> status still Open with 4 other changes
by
.
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