Thanks for your response, Gerald!
> I'd *strongly* urge upgrading to Tcl 8.5 (should be a fairly easy upgrade)
> and then use dicts for for your new command.
Upgrading is a hard sell at the moment. I did notice the nice dict stuff in 8.5 but for the moment I'm stuck with 8.4's array and HashTable.
> BTW, TclLib is all in Tcl, so to use it from C you will be using TclEval* calls.
Maybe TclLib wasn't the correct name for this
http://www.tcl.tk/man/tcl8.4/TclLib/Hash.htm
The area I'm adding support for the command is already C. The function declaration looks like
int some_new_command( ClientData clientData, Tcl_Interp * interp, int objc, Tcl_Obj * CONST objv[] )
My original question is still unanswered, what C data type does the 'array' map to in the Tcl_Obj objv array? Are there any library calls that convert this data type to a HashTable?
Brian