
/* winprim.c */
#ifndef __WINPRIM_PROTO_H__
#define __WINPRIM_PROTO_H__

#ifdef TCL
# include "glue.h"
#else
# include "stdwin.h"
#endif

noreturn	sysError		(char *s1, char *s2);
noreturn	sysWarn			(char *s1, char *s2);
void		compilWarn		(char *selector, char *str1, char *str2);
void		compilError		(char *selector, char *str1, char *str2);
noreturn	dspMethod		(char *cp, char *mp);
void		givepause		(void);
object		newRect			(short l, short t, short r, short b);
object		newPoint		(int x, int y);
int			findWindow		(WINDOW *w);
void		drawproc		(WINDOW *w, int left, int top, int right, int bottom);
object		sysPrimitive	(int primitiveNumber, object *arguments);
#endif
