2 //metadoc Sandbox copyright Steve Dekorte 2002
3 //metadoc Sandbox license BSD revised
5 #ifndef IoSandbox_DEFINED
6 #define IoSandbox_DEFINED 1
18 #define ISSANDBOX(self) \
19 IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoSandbox_rawClone)
21 typedef IoObject IoSandbox
;
23 IoSandbox
*IoSandbox_proto(void *state
);
24 IoSandbox
*IoSandbox_rawClone(IoSandbox
*self
);
25 IoSandbox
*IoSandbox_new(void *state
);
27 void IoSandbox_free(IoSandbox
*self
);
28 void IoSandbox_mark(IoSandbox
*self
);
30 IoNumber
*IoSandbox_messageCount(IoSandbox
*self
, IoObject
*locals
, IoMessage
*m
);
31 IoObject
*IoSandbox_setMessageCount(IoSandbox
*self
, IoObject
*locals
, IoMessage
*m
);
32 IoNumber
*IoSandbox_timeLimit(IoSandbox
*self
, IoObject
*locals
, IoMessage
*m
);
33 IoObject
*IoSandbox_setTimeLimit(IoSandbox
*self
, IoObject
*locals
, IoMessage
*m
);
35 IoObject
*IoSandbox_doSandboxString(IoSandbox
*self
, IoObject
*locals
, IoMessage
*m
);
37 void IoSandbox_cleanState(IoSandbox
*self
);
38 void IoSandbox_addPrintCallback(IoSandbox
*self
);
39 void IoSandbox_printCallback(void *voidSelf
, const UArray
*ba
);