comparison 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
comparison
equal deleted inserted replaced
62:b218af069da7 63:04baa003de5a
1 #ifndef _ARRAY_H_ 1 #ifndef _ARRAY_H_
2 #define _ARRAH_H_ 2 #define _ARRAH_H_
3 3
4 #include "object.h" 4 #include "object.h"
5 #include "func.h" 5 #include "func.h"
6 #include "builtin.h" 6 #include "builtin.h"
7 7
8 MOBegin 8 void _internal_array_copyout(object * array, int32_t index, object * dest);
9 blueprint *contents_type; 9 void _internal_array_copyin(object * array, int32_t index, object * val);
10 int32 numels; 10 object * _internal_array_getboxed(object * array, int32_t index);
11 Object(Array) 11 void _internal_array_setboxed(object *, int32_t index, object * val);
12 object *_internal_array_allocboxed(int32_t size);
13 object * _internal_array_allocnaked(int32_t size , object * type);
12 14
13 15
14 #endif //_ARRAY_H_ 16 #endif //_ARRAY_H_