mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 08:50:58 +00:00
16 lines
316 B
Objective-C
16 lines
316 B
Objective-C
#ifndef __Primitive_h
|
|
#define __Primitive_h
|
|
#include "Procedure.h"
|
|
#include "Machine.h"
|
|
|
|
typedef SchemeObject *primfunc_t (SchemeObject *args, Machine *m);
|
|
|
|
@interface Primitive: Procedure
|
|
{
|
|
primfunc_t func;
|
|
}
|
|
+ (id) newFromFunc: (primfunc_t) f;
|
|
- (id) initWithFunc: (primfunc_t) f;
|
|
@end
|
|
|
|
#endif //__Procedure_h
|