Updated to get pointers from Tcl using Tcl_GetWideIntFromObj()