Mercurial > repos > rhope
comparison runtime/context.h @ 63:04baa003de5a
Merged latest changes with better C branch
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 05 May 2010 22:12:23 -0400 |
parents | d2f9b0a9403d 70af7fa155d0 |
children | d4b44ae2e34a |
comparison
equal
deleted
inserted
replaced
62:b218af069da7 | 63:04baa003de5a |
---|---|
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 struct calldata * alloc_cdata(context * ct, struct calldata * lastframe, uint32_t num_params); | 25 calldata * alloc_cdata(context * ct, 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 #endif //_CONTEXT_H_ | 28 #endif //_CONTEXT_H_ |