libtcl.h 500 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _LIBTCL_H
  2. #define _LIBTCL_H
  3. #include "common.h"
  4. #include "dl.h"
  5. #include <bdlib/src/String.h>
  6. #ifdef USE_SCRIPT_TCL
  7. #ifndef GENERATING_DEFS
  8. #include ".defs/libtcl_pre.h"
  9. #endif
  10. #include <tcl.h>
  11. #ifndef GENERATING_DEFS
  12. #include ".defs/libtcl_post.h"
  13. #endif
  14. #define STDVAR (ClientData cd, Tcl_Interp *interp, int argc, const char *argv[])
  15. extern Tcl_Interp *global_interp;
  16. bd::String tcl_eval(const bd::String&);
  17. #endif
  18. int load_libtcl();
  19. int unload_libtcl();
  20. #endif /* !_LIBTCL_H */