view runtime/blueprint.h @ 177:e57c151f351e

Get bytecode engine working well enough for naive fib
author Mike Pavone <pavone@retrodev.com>
date Sun, 12 Jun 2011 03:49:51 -0700
parents 9fab36cc706b
children ba35ab624ec2
line wrap: on
line source

#ifndef BLUEPRINT_H_
#define BLUEPRINT_H_

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

Box(blueprint *,bp,Blueprint)

object * make_Blueprint(int32_t type_id);

int32_t _internal_blueprint_eq(object * left, object * right);
int32_t _internal_blueprint_rawsize(object * bp);

typedef struct {
	blueprint * bp;
} lt_Build;

typedef struct {
	blueprint * bp;
} lt_BlueprintSP_Of;

typedef struct {
	object * id;
} lt_ID;

typedef struct {
	uint32_t type;
} lt_BlueprintSP_FromSP_ID;

#endif //BLUEPRINT_H_