1234567891011121314151617181920212223242526272829 |
- #ifdef HAVE_CONFIG_H
- #include "config.h"
- #endif
- #ifdef HAVE_LIBTCL
- #include <stdlib.h>
- #include <tcl.h>
- #include "tcl_private.h"
- void tclish_fini_callback(const clish_shell_t * shell)
- {
- tclish_cookie_t *this = clish_shell__get_client_cookie(shell);
-
- (void)Tcl_Release(this->interp);
- (void)Tcl_DeleteInterp(this->interp);
-
- free(this);
- }
- #endif
|