Changeset 277 for trunk/idl-compiler/ih-emitter_c
- Timestamp:
- Mar 27, 2007, 7:58:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/idl-compiler/ih-emitter_c/ih_file_emitter.c
r276 r277 51 51 /* Protective #ifndef for whole file */ 52 52 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 */ 54 54 fprintf(fh, "#include \"%s.h\"\n", pif->chrName); 55 55 … … 62 62 FILE* fh=pLocalPI->outFile; 63 63 64 fprintf(fh, "#ifdef __cplusplus\n");65 fprintf(fh, "}\n");66 fprintf(fh, "#endif /* __cplusplus */\n\n");67 64 68 65 fprintf(fh, "\n#endif /* %s_IH */\n", pif->chrName);
Note:
See TracChangeset
for help on using the changeset viewer.