#line 1 "cppdirec.m"
struct _PRIVATE { struct _PRIVATE *isa; };
typedef struct _PRIVATE *id;
struct _SHARED {
  id isa;
  id clsSuper;
  char *clsName;
  char *clsTypes;
  short clsSizInstance;
  short clsSizDict;
  struct _SLT *clsDispTable;
  long clsStatus;
  struct modDescriptor *clsMod;
  unsigned clsVersion;
  id clsCats;
  id *clsGlbl;
};
extern id  (* _imp(id,char*))();
extern id  (* _impSuper(id,char*))();
extern struct modDescriptor  *_OBJCBIND_cppdirec(void);
static char **selTransTbl;
struct _SLT {char *_cmd;id (*_imp)();};
struct modDescriptor {
  char *modName;
  char *modVersion;
  long modStatus;
  char *modMinSel;
  char *modMaxSel;
  id *modClsLst;
  short modSelRef;
  char **modSelTbl;
  struct methodDescriptor *modMapTbl;
};
extern struct modDescriptor cppdirec_modDesc;

#line 1 "../../util//stdarg.h"
#include <stdarg.h>

#line 1 "../../util//stdlib.h"
#include <stdlib.h>

#line 1 "../../util//assert.h"
#include <assert.h>

#line 1 "../../util//stdio.h"
#include <stdio.h>

#line 1 "../../util//stdio.h"
#include <stdio.h>

#line 1 "../../util//stddef.h"
#include <stddef.h>

#line 53 "../../include/objcrt/objcrt.h"
typedef char*SEL;
typedef char*STR;
typedef char BOOL;
typedef FILE*IOD;
typedef id SHR;
#line 62 "../../include/objcrt/objcrt.h"
typedef id(*IMP)();


typedef void(*ARGIMP)(id,SEL,void*);
#line 85 "../../include/objcrt/objcrt.h"
extern BOOL msgFlag;
extern FILE*msgIOD;
extern FILE*dbgIOD;
extern BOOL allocFlag;
extern BOOL dbgFlag;
extern BOOL noCacheFlag;
extern BOOL noNilRcvr;
#line 98 "../../include/objcrt/objcrt.h"
SEL selUid(STR);
STR selName(SEL);
void dbg(char*fmt,...);
void prnstack(FILE*file);
void loadobjc(void*modPtr);
void unloadobjc(void*modPtr);
#line 107 "../../include/objcrt/objcrt.h"
IMP fwdimp(id,SEL,IMP);
IMP fwdimpSuper(id,SEL,IMP);
void fwdmsg(id,SEL,void*,ARGIMP);
id selptrfwd(id,SEL,id,id,id,id);


id idincref(id obj);
id idassign(id*lhs,id rhs);
id iddecref(id obj);

extern id(*_fileIn)(FILE*);
extern BOOL(*_fileOut)(FILE*,id);
extern BOOL(*_storeOn)(STR,id);
extern id(*_readFrom)(STR);
void setfilein(id(*f)(FILE*));
void setfileout(BOOL(*f)(FILE*,id));

extern id(*_showOn)(id,unsigned);

void*OC_Malloc(size_t);
void*OC_MallocAtomic(size_t);
void*OC_Calloc(size_t);
void*OC_Realloc(void*,size_t);
void*OC_Free(void*data);
#line 1 "../../util//string.h"
#include <string.h>

#line 32 "../../include/objpak/ocstring.h"
typedef struct objstr
{
int count;
int capacity;
char*ptr;
}*
objstr_t;
#line 22 "symbol.h"
extern id s_void;
extern id s_char;
extern id s_bool;
extern id s_int;
extern id s_uns;
extern id s_long;
extern id s_double;
extern id s_str;
extern id s_sel;
extern id s_newblock;
extern id s_main;
extern id s_objcmain;
extern id s_id;
extern id s_nil;
extern id s_self;
extern id s_cmd;
extern id s_super;
extern id s_type;
extern id s_aFiler;
extern id s_fileIn;
extern id s_fileOut;
extern id s_fileInIdsFrom;
extern id s_fileOutIdsFor;
extern id s_returnval;
extern id s_returnflag;
extern id s_increfs;
extern id s_decrefs;
extern id s_idincref;
extern id s_iddecref;

BOOL istypeword(id sym);
BOOL isbuiltinfun(id sym);
int pragmatoggle(char*s);
void definebuiltintype(char*s);
void definebuiltinfun(char*s);
void definebuiltinvar(char*s);
#line 22 "node.h"
extern FILE*gfile;
extern int inlineno;
extern id infilename;
extern int outlineno;
extern char*outfilename;
extern int exitstatus;
extern id loadedmodules;

void gc(char c);
void gextc(void);
void gcom(char*cm);
void gvarlist(id c,char*sp,char*iz);
void gcommalist(id c);
void gs(char*str);
void gf(char*fmt,...);
void gl(int no,char*fn);
void g_otbvars(void);
void gstderr(void);
void gnormal(void);
char*browsepath(char*filename);

void warn(char*fmt,...);
void warnat(id sym,char*fmt,...);
void fatal(char*fmt,...);
void fatalat(id sym,char*fmt,...);
#line 22 "cppdirec.h"
struct CppDirective_PRIVATE {

#line 42 "../../include/objcrt/Object.h"
id isa;
#line 46 "../../include/objcrt/Object.h"
unsigned short attr;
unsigned short objID;
#line 34 "../../include/objpak/array.h"
unsigned capacity;
#line 42 "../../include/objpak/ocstring.h"
struct objstr value;
#line 61 "symbol.h"
int lineno;
id filename;
id type;};

#line 22 "cppdirec.h"
extern id  CppDirective;

#line 22 "cppdirec.h"
extern struct _SHARED _CppDirective;
extern struct _SHARED __CppDirective;


#line 37 "cppdirec.m"
static BOOL i_CppDirective_isenumtor(struct CppDirective_PRIVATE *self,SEL _cmd)
{
return(BOOL)0;
}

static BOOL i_CppDirective_iscompstmt(struct CppDirective_PRIVATE *self,SEL _cmd)
{
return(BOOL)0;
}

static id i_CppDirective_gen(struct CppDirective_PRIVATE *self,SEL _cmd)
{
id objcT0,objcT1;

if(outlineno==(objcT0=(id)self,(*(int(*)(id,SEL))_imp(objcT0,selTransTbl[0]))(objcT0,selTransTbl[0])))
gc('\n');
return(objcT1=_CppDirective.clsSuper,(*_impSuper(objcT1,selTransTbl[1]))((id)self,selTransTbl[1]));
}

static id i_CppDirective_st80(struct CppDirective_PRIVATE *self,SEL _cmd)
{
return(id)self;
}
extern id  Object;
extern struct _SHARED _Object;
extern struct _SHARED __Object;
extern id  Symbol;
extern struct _SHARED _Symbol;
extern struct _SHARED __Symbol;
static struct _SLT _CppDirective_clsDispatchTbl[] ={
{(char*)0,(id (*)())0}
};
static struct _SLT _CppDirective_nstDispatchTbl[] ={
{"isenumtor",(id (*)())i_CppDirective_isenumtor},
{"iscompstmt",(id (*)())i_CppDirective_iscompstmt},
{"gen",(id (*)())i_CppDirective_gen},
{"st80",(id (*)())i_CppDirective_st80},
{(char*)0,(id (*)())0}
};
id CppDirective = (id)&_CppDirective;
id  *OBJCCLASS_CppDirective(void) { return &CppDirective; }
struct _SHARED  _CppDirective = {
  (id)&__CppDirective,
  (id)&_Symbol,
  "CppDirective",
  0,
  sizeof(struct CppDirective_PRIVATE),
  4,
  _CppDirective_nstDispatchTbl,
  41,
  &cppdirec_modDesc,
  0,
  (id)0,
  &CppDirective,
};
id  OBJCCFUNC_CppDirective(void) { return (id)&_CppDirective; }
id  OBJCCSUPER_CppDirective(void) { return _CppDirective.clsSuper; }
struct _SHARED __CppDirective = {
  (id)&__Object,
  (id)&__Symbol,
  "CppDirective",
  0,
  sizeof(struct _SHARED),
  0,
  _CppDirective_clsDispatchTbl,
  34,
  &cppdirec_modDesc,
  0,
  (id)0,
  0,
};
id  OBJCMFUNC_CppDirective(void) { return (id)&__CppDirective; }
id  OBJCMSUPER_CppDirective(void) { return __CppDirective.clsSuper; }
static char *_selTransTbl[] ={
"lineno",
"gen",
0
};
struct modDescriptor cppdirec_modDesc = {
  "cppdirec",
  "objc3.1.26",
  0L,
  0,
  0,
  &CppDirective,
  2,
  _selTransTbl,
  0
};
struct modDescriptor *_OBJCBIND_cppdirec(void)
{
  selTransTbl = _selTransTbl;
  return &cppdirec_modDesc;
}
int _OBJCPOSTLINK_cppdirec = 1;


