view runtime/array.h @ 75:0083b2f7b3c7

Partially working implementation of List. Modified build scripts to allow use of other compilers. Fixed some bugs involving method implementations on different types returning different numbers of outputs. Added Fold to the 'builtins' in the comipler.
author Mike Pavone <pavone@retrodev.com>
date Tue, 06 Jul 2010 07:52:59 -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_