Ignore:
Timestamp:
Mar 27, 2007, 7:58:40 PM (18 years ago)
Author:
cinc
Message:

IDL compiler: improved outfile handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/ih-emitter_c/ih_file_emitter.c

    r276 r277  
    5151  /* Protective #ifndef for whole file */
    5252  fprintf(fh, "#ifndef %s_IH\n#define %s_IH\n\n", pif->chrName, pif->chrName);
    53 
     53  /* The *.h of this class conatins some declarations we need */
    5454  fprintf(fh, "#include \"%s.h\"\n", pif->chrName);
    5555
     
    6262  FILE* fh=pLocalPI->outFile;
    6363
    64   fprintf(fh, "#ifdef __cplusplus\n");
    65   fprintf(fh, "}\n");
    66   fprintf(fh, "#endif /* __cplusplus */\n\n");
    6764
    6865  fprintf(fh, "\n#endif /* %s_IH */\n", pif->chrName);
Note: See TracChangeset for help on using the changeset viewer.