New doc system done for core
[io.git] / libs / iovm / source / IoSandbox.h
blob4b6455d10f46af2219c383310f5088618fa0529a
2 //metadoc Sandbox copyright Steve Dekorte 2002
3 //metadoc Sandbox license BSD revised
5 #ifndef IoSandbox_DEFINED
6 #define IoSandbox_DEFINED 1
8 #include "Common.h"
9 #include "IoObject.h"
10 #include "UArray.h"
11 #include "IoNumber.h"
12 //#include "IoSeq.h"
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
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);
41 #ifdef __cplusplus
43 #endif
44 #endif