1234567891011121314151617181920212223242526272829 |
- #ifdef HAVE_CONFIG_H
- #include "config.h"
- #endif
- #ifdef HAVE_LIBTCL
- #include <assert.h>
- #include <tcl.h>
- #include "tcl_private.h"
- void tclish_show_result(Tcl_Interp * interp)
- {
- Tcl_Obj *obj = Tcl_GetObjResult(interp);
- int length;
- if (NULL != obj) {
- char *string = Tcl_GetStringFromObj(obj, &length);
- if (NULL != string) {
- printf("%s", string);
- }
- }
- }
- #endif
|