more runtime stuff
[IRC.git] / Robust / src / Runtime / runtime.h
1 #ifndef RUNTIME
2 #define RUNTIME
3
4
5 void * allocate_new(int type);
6 struct ArrayObject * allocate_newarray(int type, int length);
7 struct ___String___ * NewString(char *str,int length);
8
9 void failedboundschk();
10 void failednullptr();
11
12 #ifdef TASK
13 #include "Queue.h"
14 void flagorand(void * ptr, int ormask, int andmask);
15 void executetasks();
16 void processtasks();
17
18 struct parameterwrapper {
19   struct parameterwrapper *next;
20   struct Queue * queue;
21   int numberofterms;
22   int * intarray;
23   struct taskdescriptor * task;
24 }
25 #endif
26
27 #endif