326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
|
} else {
set cargs_str "void"
}
append code "static $rtype2 ${cname}($cargs_str) \{\n"
append code $body
append code "\}\n"
} else {
append code "#define $cname [namespace tail $name]" "\n"
}
# Create wrapper function
## Supported input types
## Tcl_Interp*
## int
## long
|
|
|
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
|
} else {
set cargs_str "void"
}
append code "static $rtype2 ${cname}($cargs_str) \{\n"
append code $body
append code "\}\n"
} else {
set cname [namespace tail $name]
}
# Create wrapper function
## Supported input types
## Tcl_Interp*
## int
## long
|