Posted to tcl by auriocus at Sat Jun 21 20:06:09 GMT 2014view pretty
# Add external functions tcc4tcl::cproc addc {Tcl_Interp* interp Tcl_Obj* a Tcl_Obj* b} ok { int NumArrayPlusCmd( ClientData dummy, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv); Tcl_Obj * arg[3]; arg[0]=NULL; arg[1]=a; arg[2]=b; int result=NumArrayPlusCmd(NULL, interp, 3, arg); } returns: tcc: error: undefined symbol 'NumArrayPlusCmd' relocating failed