Debian Codegraph @

test/assets/cproc/4.13-channel

raw
1 /* ---------------------------------------------------------------------- */
2
3 #define ns__aproc0 "::aproc"
4 static void c__aproc0(Tcl_Channel x)
5 {
6
7 }
8
9 static int
10 tcl__aproc0(ClientData cd, Tcl_Interp *interp, Tcl_Size oc, Tcl_Obj *CONST ov[])
11 {
12 Tcl_Channel _x;
13
14 if (oc != 2) {
15 Tcl_WrongNumArgs(interp, 1, ov, "x");
16 return TCL_ERROR;
17 }
18
19 /* (channel x) - - -- --- ----- -------- */
20 {
21 int mode;
22 _x = Tcl_GetChannel(interp, Tcl_GetString (ov[1]), &mode);
23 if (_x == NULL) return TCL_ERROR; }
24
25 /* Call - - -- --- ----- -------- */
26 c__aproc0(_x);
27
28 /* (void return) - - -- --- ----- -------- */
29 return TCL_OK;
30 }