yaha...@gmail.com
unread,Sep 27, 2015, 6:11:36 AM9/27/15You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I was looking at python c package and the way it extracts arguments that were sent to the procedure:
uint8_t *key;
char *in;
unsigned int i, lBuf, lKey;
PyArg_ParseTuple(args, "s#s#", &in, &lBuf, &key, &lKey)
The Tcl way is more complicated as far as I know:
Tcl_Obj * tempObj = NULL;
Tcl_ListObjIndex(interp,objv[1],0,&tempObj);
in=Tcl_GetString(tempObj)
.
Maybe I miss an elegant solution that matches the above.