Ignore:
Timestamp:
Apr 1, 2007, 3:50:13 PM (18 years ago)
Author:
cinc
Message:

Hunting bugs...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/idl-compiler/h-emitter_c/h_file_emitter.c

    r289 r290  
    302302          PMETHOD pm=(PMETHOD)g_ptr_array_index(pArray, a);
    303303
    304           fprintf(fh, "#define %s_%s \\\n", pif->chrName, pm->chrName);
    305           fprintf(fh, "        %s_%s \n", pifParent->chrName, pm->chrName);
     304          fprintf(fh, "#define %s_%s(nomSelf, ", pif->chrName, pm->chrName);
     305          /* Do parameters */
     306          emitMethodParamsNoTypes(pLocalPI, pif, pm->pParamArray);
     307          fprintf(fh, " ev) \\\n");
     308          fprintf(fh, "        %s_%s((%s*) nomSelf, ", pifParent->chrName, pm->chrName, pifParent->chrName);
     309          /* Do parameters */
     310          emitMethodParamsNoTypes(pLocalPI, pif, pm->pParamArray);
     311          fprintf(fh, " ev)\n");
    306312        }
    307313    }
Note: See TracChangeset for help on using the changeset viewer.