view runtime/array.h @ 69:d0ce696786cc

Clean up debug print statements a bit. Fix bug that prevented workers that took no inputs from working. Remove workaround in Array for said bug.
author Mike Pavone <pavone@retrodev.com>
date Wed, 16 Jun 2010 04:36:08 +0000
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_