Mercurial > repos > rhope
diff runtime/array.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 | 3e20ed8959c4 |
children | 5a08705f7610 |
line wrap: on
line diff
--- a/runtime/array.h Sat Oct 10 16:43:37 2009 -0400 +++ b/runtime/array.h Wed May 05 22:12:23 2010 -0400 @@ -3,12 +3,14 @@ #include "object.h" #include "func.h" -#include "builtin.h" +#include "builtin.h" -MOBegin - blueprint *contents_type; - int32 numels; -Object(Array) +void _internal_array_copyout(object * array, int32_t index, object * dest); +void _internal_array_copyin(object * array, int32_t index, object * val); +object * _internal_array_getboxed(object * array, int32_t index); +void _internal_array_setboxed(object *, int32_t index, object * val); +object *_internal_array_allocboxed(int32_t size); +object * _internal_array_allocnaked(int32_t size , object * type); -#endif //_ARRAY_H_ \ No newline at end of file +#endif //_ARRAY_H_