Lines Matching defs:proc
29 static char procCommand[] = "proc";
39 Tcl_ObjCmdProc *proc; /* command proc */
159 Tcl_CreateObjCommand(interp, buf, cmdTablePtr->proc, 0, 0);
206 * Implements the "procbodytest::proc" command. Here is the command
208 * procbodytest::proc newName argList bodyName
217 * construct a proc from a "procbody", for example:
218 * proc a {x} {return $x}
220 * procbodytest::proc b {x} a
270 * and cmdPtr->proc is either 0 or TclProcInterpProc.
271 * Also, the compile proc should be 0, but we don't check for that.
276 || ((cmdPtr->proc != NULL)
277 && (cmdPtr->proc != TclGetInterpProc()))) {
290 } else if (cmdPtr->proc != NULL) {