view runtime/worker.h @ 92:e73a93fb5de1

Beginning of port of compiler to itself, some bugfixes and a refcount optimization
author Mike Pavone <pavone@retrodev.com>
date Mon, 02 Aug 2010 00:58:55 -0400
parents a844c623c7df
children 7428aa5d6ade
line wrap: on
line source

#ifndef _WORKER_H_
#define _WORKER_H_

#include "object.h"
#include "func.h"
#include "builtin.h"	

object * _internal_worker_alloc(int16_t size);
void _internal_worker_setinput(object * worker, int16_t num, object * val);
object * _internal_worker_getinput(object * worker, int16_t num);
int32_t _internal_worker_hasinput(object * worker, int16_t num);


#endif //_WORKER_H_