Changeset 376 for trunk/idl-compiler
- Timestamp:
- Jun 29, 2008, 6:33:14 PM (17 years ago)
- Location:
- trunk/idl-compiler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/idl-compiler/h-emitter_c/h_file_emitter.c
r375 r376 64 64 fprintf(fh, "#endif /* __cplusplus */\n\n"); 65 65 66 fprintf(fh, "#ifndef NOMCOMPILER\n"); 67 66 68 /* Define the name as an object */ 67 69 fprintf(fh, "#if !defined(_%s_defined)\n", pif->chrName); … … 72 74 fprintf(fh, "#endif\n"); 73 75 fprintf(fh, "#endif\n\n"); 74 75 76 } 76 77 … … 356 357 pArray=pif->pMethodArray; 357 358 358 fprintf(fh, "#ifdef NOMCOMPILER\n"); 359 fprintf(fh, "#else /* NOMCOMPILER */\n"); 360 361 emitInterfaceIncludes(pLocalPI, pif); 359 362 360 363 fprintf(fh, "interface %s", pif->chrName); -
trunk/idl-compiler/ih-emitter_c/ih_file_emitter.c
r326 r376 61 61 fprintf(fh, "#include \"%s.h\"\n\n", pif->chrFileStem); 62 62 63 fprintf(fh, "#ifndef NOMCOMPILER\n"); 64 63 65 } 64 66 … … 574 576 575 577 fprintf(fh, "\n#endif /* NOM_%s_IMPLEMENTATION_FILE */\n", pif->chrName); 578 579 fprintf(fh, "#endif /* NOMCOMPILER */\n"); 580 576 581 fprintf(fh, "#endif/* %s_IH */\n", pif->chrName); 577 582 }
Note:
See TracChangeset
for help on using the changeset viewer.