Ignore:
Timestamp:
Apr 1, 2007, 5:17:12 PM (18 years ago)
Author:
cinc
Message:

Created C file emitter. Some fixes.

File:
1 edited

Legend:

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

    r290 r292  
    162162
    163163      /* Do return type */
    164       fprintf(fh, "typedef %s", pm->mpReturn.chrType);
    165       for(b=0;b<pm->mpReturn.uiStar;b++)
    166         fprintf(fh, "*");
     164      fprintf(fh, "typedef ");
     165      emitReturnType(pLocalPI, pif, pm);
    167166
    168167      fprintf(fh, " NOMLINK nomTP_%s_%s(%s* nomSelf,\n", pif->chrName,  pm->chrName, pif->chrName);
Note: See TracChangeset for help on using the changeset viewer.