stk/Src/dummy.c

62 lines
1.7 KiB
C
Raw Normal View History

1996-09-27 06:29:02 -04:00
/******************************************************************************
*
* d u m m y . c -- this file contains functions referenced
* (but not used) by the Tcl library.
* It is useful for the snow interpreter only.
* Dummy functions are defined here to make the
* loader happy
*
1998-09-30 07:11:02 -04:00
* Copyright <EFBFBD> 1993-1998 Erick Gallesio - I3S-CNRS/ESSI <eg@unice.fr>
1996-09-27 06:29:02 -04:00
*
*
* Permission to use, copy, and/or distribute this software and its
* documentation for any purpose and without fee is hereby granted, provided
* that both the above copyright notice and this permission notice appear in
* all copies and derived works. Fees for distribution or use of this
* software or derived works may only be charged with express written
* permission of the copyright holder.
* This software is provided ``as is'' without express or implied warranty.
*
* This software is a derivative work of other copyrighted softwares; the
* copyright notices of these softwares are placed in the file COPYRIGHTS
*
*
* Author: Erick Gallesio [eg@unice.fr]
* Creation date: 1-Feb-1995 22:43
1998-09-30 07:11:02 -04:00
* Last file update: 10-Sep-1998 14:57
1996-09-27 06:29:02 -04:00
*
******************************************************************************/
#include "stk.h"
#ifndef USE_TK
1998-09-30 07:11:02 -04:00
static void Error(char *msg)
1996-09-27 06:29:02 -04:00
{
char buffer[100];
sprintf(buffer, "Error: call of '%s' in Snow !!!. This should not occur\n", msg);
}
char *Tcl_SetVar2(interp, name1, name2, val, flags)
Tcl_Interp *interp;
char *name1, *name2, *val;
int flags;
{
Error("Tcl_SetVar2");
}
1998-04-10 06:59:06 -04:00
void Tcl_DeleteFileHandler(int fd)
1996-09-27 06:29:02 -04:00
{
Error("Tcl_DeleteFileHandler");
}
1998-04-10 06:59:06 -04:00
void Tcl_CreateFileHandler(int fd, int mask, Tcl_FileProc *proc,
1996-09-27 06:29:02 -04:00
ClientData clientData)
{
Error("Tcl_CreateFileHandler");
}
#endif