0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-03-04 16:31:23 +00:00
quakeforge/ruamoko/scheme/Primitive.h
Brian Koropoff 281b683e14 Initial commit of a future partial implementation of the R5RS Scheme
standard, implemented in Ruamoko.  Currently works for a few simple
"Hello, world!" programs.
2005-05-01 11:48:36 +00:00

16 lines
313 B
Objective-C

#ifndef __Primitive_h
#define __Primitive_h
#include "Procedure.h"
#include "Machine.h"
typedef SchemeObject (SchemeObject args, Machine m) primfunc_t;
@interface Primitive: Procedure
{
primfunc_t func;
}
+ (id) newFromFunc: (primfunc_t) f;
- (id) initWithFunc: (primfunc_t) f;
@end
#endif //__Procedure_h