Posted to tcl by apn at Thu Jun 24 09:16:15 GMT 2021view raw
- Tcl_Obj **objs;
- int nobjs;
- Tcl_ListObjGetElements(interp, listObj, &nObjs, &objs); (assume listObj valid list)
- Assume nobjs checked > 0
- Tcl_SomeFunction(objs[0], someOtherObj);
- Tcl_GetString(objs[0])