mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
281b683e14
standard, implemented in Ruamoko. Currently works for a few simple "Hello, world!" programs.
16 lines
313 B
Objective-C
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
|