mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 08:27:39 +00:00
281b683e14
standard, implemented in Ruamoko. Currently works for a few simple "Hello, world!" programs.
19 lines
430 B
Objective-C
19 lines
430 B
Objective-C
#ifndef __Cons_h
|
|
#define __Cons_h
|
|
#include "SchemeObject.h"
|
|
|
|
@interface Cons: SchemeObject
|
|
{
|
|
SchemeObject car, cdr;
|
|
}
|
|
+ (id) newWithCar: (SchemeObject) a cdr: (SchemeObject) d;
|
|
- (id) initWithCar: (SchemeObject) a cdr: (SchemeObject) d;
|
|
- (SchemeObject) car;
|
|
- (void) car: (SchemeObject) a;
|
|
- (SchemeObject) cdr;
|
|
- (void) cdr: (SchemeObject) d;
|
|
@end
|
|
|
|
@extern Cons cons (SchemeObject car, SchemeObject cdr);
|
|
|
|
#endif //__Cons_h
|