This is lispext.h in view mode; [Download] [Up]
#ifndef LISPEXT_H #define LISPEXT_H #include "lisp.h" #include "streampool.h" #include "3d.h" #include "camera.h" #include "geom.h" #include "appearance.h" #include "window.h" #include "transformn.h" typedef struct { Handle *h; Camera *cam; } CameraStruct; typedef struct { Handle *h; Geom *geom; } GeomStruct; typedef struct { Handle *h; Transform tm; } TransformStruct; typedef struct { Handle *h; WnWindow *wn; } WindowStruct; typedef struct { Handle *h; Appearance *ap; } ApStruct; typedef struct { Handle *h; TransformN *tm; } TmNStruct; #define LAPVAL(obj) ((ApStruct*) (obj->cell.p)) #define LCAMERAVAL(obj) ((CameraStruct*) (obj->cell.p)) #define LGEOMVAL(obj) ((GeomStruct*) (obj->cell.p)) #define LTRANSFORMVAL(obj) ((TransformStruct*)(obj->cell.p)) #define LWINDOWVAL(obj) ((WindowStruct*) (obj->cell.p)) #define LTRANSFORMNVAL(obj) ((TmNStruct*) (obj->cell.p)) #define LSTRINGSVAL(obj) LSTRINGVAL(obj) #define LIDVAL(obj) (obj->cell.i) #define LKEYWORDVAL(obj) (obj->cell.i) extern LType LApp; extern LType LCamerap; extern LType LGeomp; extern LType LIdp; extern LType LKeywordp; extern LType LStringsp; extern LType LTransformp; extern LType LTransformNp; extern LType LWindowp; #define LAP (&LApp) #define LCAMERA (&LCamerap) #define LGEOM (&LGeomp) #define LID (&LIdp) #define LKEYWORD (&LKeywordp) #define LSTRINGS (&LStringsp) #define LTRANSFORM (<ransformp) #define LTRANSFORMN (<ransformNp) #define LWINDOW (&LWindowp) extern LObject *L0, *L1; extern int parse_keyword(char *word); extern void lispext_init(); extern void define_keyword(char *word, int value); #endif /* ! LISPEXT_H */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.