Changeset 124 for trunk/ORBit2-2.14.0/src/idl-compiler
- Timestamp:
- Nov 28, 2006, 10:10:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ORBit2-2.14.0/src/idl-compiler/orbit-idl-c-headers.c
r121 r124 1292 1292 fprintf(ci->fh, "/* OVERRIDE_METHOD: "); 1293 1293 fprintf(ci->fh, "%s %s */\n", IDL_IDENT (IDL_OP_DCL (cur).ident).str, id ); 1294 fprintf(ci->fh, "#ifdef %s_%s\n", id, IDL_IDENT (IDL_OP_DCL (cur).ident).str); 1295 fprintf(ci->fh, "#undef %s_%s\n", id, IDL_IDENT (IDL_OP_DCL (cur).ident).str); 1296 fprintf(ci->fh, "#endif\n"); 1294 1297 /* Try to find the interface introducing this method */ 1295 1298 … … 1342 1345 if(!strstr(IDL_IDENT (IDL_OP_DCL (curop).ident).str, "__OVERRIDE__")) 1343 1346 { 1344 fprintf(ioi->of, " #if 0/* %s, %s line %d */\n", __FILE__, __FUNCTION__, __LINE__);1347 fprintf(ioi->of, "/* %s, %s line %d */\n", __FILE__, __FUNCTION__, __LINE__); 1345 1348 fprintf(ioi->of, "#define %s_%s %s_%s\n", 1346 1349 realid, IDL_IDENT(IDL_OP_DCL(curop).ident).str, 1347 1350 id, IDL_IDENT(IDL_OP_DCL(curop).ident).str); 1348 fprintf(ioi->of, "#endif\n");1349 1351 } 1350 1352 break;
Note:
See TracChangeset
for help on using the changeset viewer.
