comparison runtime/context.h @ 66:d4b44ae2e34a

New variant of C backend works now
author Mike Pavone <pavone@retrodev.com>
date Sun, 06 Jun 2010 20:29:10 -0400
parents 04baa003de5a
children d1569087348f
comparison
equal deleted inserted replaced
65:1db811fa4744 66:d4b44ae2e34a
20 } context; 20 } context;
21 21
22 stackchunk * new_stack(); 22 stackchunk * new_stack();
23 context * new_context(); 23 context * new_context();
24 void * alloc_stack(context * ct, uint32_t size); 24 void * alloc_stack(context * ct, uint32_t size);
25 calldata * alloc_cdata(context * ct, uint32_t num_params); 25 calldata * alloc_cdata(context * ct, calldata * lastframe, uint32_t num_params);
26 void free_stack(context * ct, void * data); 26 void free_stack(context * ct, void * data);
27 void free_context(context * c); 27 void free_context(context * c);
28 #endif //_CONTEXT_H_ 28 #endif //_CONTEXT_H_