1998-04-10 06:59:06 -04:00
|
|
|
|
/*
|
|
|
|
|
*
|
|
|
|
|
* t c l - g l u e . h - Glue functions between the scheme and Tcl worlds
|
|
|
|
|
*
|
1999-09-05 07:16:41 -04:00
|
|
|
|
* Copyright <EFBFBD> 1997-1999 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
|
1998-04-10 06:59:06 -04:00
|
|
|
|
*
|
|
|
|
|
*
|
1999-09-05 07:16:41 -04:00
|
|
|
|
* Permission to use, copy, modify, distribute,and license this
|
|
|
|
|
* software and its documentation for any purpose is hereby granted,
|
|
|
|
|
* provided that existing copyright notices are retained in all
|
|
|
|
|
* copies and that this notice is included verbatim in any
|
|
|
|
|
* distributions. No written agreement, license, or royalty fee is
|
|
|
|
|
* required for any of the authorized uses.
|
|
|
|
|
* This software is provided ``AS IS'' without express or implied
|
|
|
|
|
* warranty.
|
1998-04-10 06:59:06 -04:00
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* Author: Erick Gallesio [eg@unice.fr]
|
|
|
|
|
* Creation date: 6-Aug-1997 12:48
|
1999-09-05 07:16:41 -04:00
|
|
|
|
* Last file update: 3-Sep-1999 20:59 (eg)
|
1998-04-10 06:59:06 -04:00
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
1998-09-30 07:11:02 -04:00
|
|
|
|
#ifndef _TCL_GLUE_
|
|
|
|
|
#define _TCL_GLUE_
|
|
|
|
|
|
1998-04-10 06:59:06 -04:00
|
|
|
|
SCM STk_convert_Tcl_string2list(char *s);
|
|
|
|
|
char *STk_convert_for_Tcl(SCM obj, SCM *res);
|
|
|
|
|
|
|
|
|
|
char *STk_stringify(char *s, int free_original);
|
|
|
|
|
|
|
|
|
|
Tcl_Obj *STk_create_tcl_object(SCM data);
|
|
|
|
|
Tcl_Obj *STk_NewKeywordObj(char *str);
|
|
|
|
|
Tcl_Obj *STk_NewSymbolObj(char *str);
|
|
|
|
|
|
|
|
|
|
char *STk_tcl_getvar(char *name, char *env);
|
|
|
|
|
char *STk_tcl_getvar2(char *name1, char *name2, char *env);
|
|
|
|
|
char *STk_tcl_setvar(char *var, char *val, int flags, char *env);
|
|
|
|
|
char *STk_tcl_setvar2(char *name1, char *name2, char *val, int flags, char *env);
|
|
|
|
|
|
1998-09-30 07:11:02 -04:00
|
|
|
|
#endif /* _TCL_GLUE */
|