Mercurial > repos > rhope
view runtime/blueprint.h @ 186:ba35ab624ec2
Add support for raw C function output from C backend as well as an option to use Boehm-GC instead of reference counting
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 07 Oct 2011 00:10:02 -0700 |
parents | 9fab36cc706b |
children |
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); #define ldec_Build lvar(blueprint *, bp) LocalsType(ldec_Build, Build) #define ldec_BlueprintSP_Of lvar(blueprint *, bp) LocalsType(ldec_BlueprintSP_Of ,BlueprintSP_Of) #define ldec_ID lvar(object *, id) LocalsType(ldec_ID, ID) #define ldec_BlueprintSP_FromSP_ID lvar(uint32_t, type) LocalsType(ldec_BlueprintSP_FromSP_ID, BlueprintSP_FromSP_ID) #endif //BLUEPRINT_H_