extern char *string_to_c(value s);
/* cltkUtf.c */
-extern value tcl_string_to_caml( char * );
+extern value tcl_string_to_caml( CONST84 char * );
extern char * caml_string_to_tcl( value );
/* cltkEval.c */
extern value *handler_code;
extern int CamlCBCmd(ClientData clientdata, Tcl_Interp *interp,
int argc, CONST84 char *argv[]);
-CAMLTKextern void tk_error(char * errmsg) Noreturn;
+CAMLTKextern void tk_error(CONST84 char * errmsg) Noreturn;
/* cltkMain.c */
extern int signal_events;
}
/* Note: raise_with_string WILL copy the error message */
-CAMLprim void tk_error(char *errmsg)
+CAMLprim void tk_error(CONST84 char *errmsg)
{
raise_with_string(*tkerror_exn, errmsg);
}
#ifdef UTFCONVERSION
-char *external_to_utf( char *str ){
+char *external_to_utf( CONST84 char *str ){
char *res;
Tcl_DString dstr;
int length;
return res;
}
-char *utf_to_external( char *str ){
+char *utf_to_external( CONST84 char *str ){
char *res;
Tcl_DString dstr;
int length;
return external_to_utf( String_val(s) );
}
-value tcl_string_to_caml( char *s )
+value tcl_string_to_caml( CONST84 char *s )
{
CAMLparam0();
CAMLlocal1(res);
#else
char *caml_string_to_tcl(value s){ return string_to_c(s); }
-value tcl_string_to_caml(char *s){ return copy_string(s); }
+value tcl_string_to_caml(CONST84 char *s){ return copy_string(s); }
#endif