| 1 |
/* ---------------------------------------------------------------------- */ |
| 2 |
|
| 3 |
#define ns__aproc0 "::aproc" |
| 4 |
|
| 5 |
#ifndef CRITCL_variadic_object |
| 6 |
#define CRITCL_variadic_object |
| 7 |
|
| 8 |
typedef struct critcl_variadic_object { |
| 9 |
int c; |
| 10 |
Tcl_Obj* const* v; |
| 11 |
} critcl_variadic_object; |
| 12 |
|
| 13 |
#endif /* CRITCL_variadic_object _________ */ |
| 14 |
|
| 15 |
static void c__aproc0(critcl_variadic_object args) |
| 16 |
{ |
| 17 |
|
| 18 |
} |
| 19 |
|
| 20 |
static int |
| 21 |
tcl__aproc0(ClientData cd, Tcl_Interp *interp, Tcl_Size oc, Tcl_Obj *CONST ov[]) |
| 22 |
{ |
| 23 |
critcl_variadic_object _args; |
| 24 |
/* (object args, ...) - - -- --- ----- -------- */ |
| 25 |
{ |
| 26 |
_args.c = (oc-1); |
| 27 |
_args.v = &ov[1]; } |
| 28 |
|
| 29 |
/* Call - - -- --- ----- -------- */ |
| 30 |
c__aproc0(_args); |
| 31 |
|
| 32 |
/* (void return) - - -- --- ----- -------- */ |
| 33 |
return TCL_OK; |
| 34 |
} |