Mercurial > repos > rhope
view runtime/array.h @ 50:689fb73e7612
Add support for various integer literals and add support for raw pointers to objects and raw pointers to arrays in the FFI
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 16 Apr 2010 01:57:04 -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_