view runtime/blueprint.h @ 163:9fab36cc706b

Add Raw Size method to blueprint to allow code to query the raw size of a type in bytes
author Mike Pavone <pavone@retrodev.com>
date Sun, 09 Jan 2011 23:03:30 -0500
parents 3c4325e6298f
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_