view runtime/worker.h @ 120:cd25171e1bb2

Use List for Subsets instead of a Dictionary for performance reasons. Fix issue with List literals. Compiled compiler is now self-hosting.
author Mike Pavone <pavone@retrodev.com>
date Thu, 21 Oct 2010 23:55:15 -0400
parents 7428aa5d6ade
children
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);
void internalworkercopy(object * obj);
void internalworkercleanup(object * obj);

#endif //_WORKER_H_