Mercurial > repos > rhope
view runtime/array.h @ 54:243d013a49cb
Defer processing of string literals until after simpler ones to avoid a segfault
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 29 Apr 2010 01:12:43 -0400 |
parents | 3e20ed8959c4 |
children | 5a08705f7610 |
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); 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_