Mercurial > repos > rhope
view runtime/array.h @ 180:c40e0faa1c92
Add Call to Dict and List
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 19 Jun 2011 10:43:11 -0700 |
parents | 439db471f595 |
children |
line wrap: on
line source
#ifndef _ARRAY_H_ #define _ARRAH_H_ #include "object.h" #include "func.h" #include "builtin.h" void _internal_array_copyout(object * array, int32_t index, object * dest); void _internal_array_copyin(object * array, int32_t index, object * val); void _internal_array_copychunk(object * src, int32_t srcidx, object * dest, int32_t destidx, int32_t len); 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_allocboxedcopy(object * osource, int32_t size); object * _internal_array_allocnaked(int32_t size , object * type); object * _internal_array_allocnakedcopy(object * osource, int32_t size); int32_t _internal_memcmp_offset(void * left, int32_t loff, void * right, int32_t roff, int32_t len); void internalarrayboxedcopy(object * obj); void internalarraynakedcopy(object * obj); void internalarrayboxedcleanup(object * obj); void internalarraynakedcleanup(object * obj); #endif //_ARRAY_H_