Ignore:
Timestamp:
Apr 17, 2001, 2:26:28 AM (24 years ago)
Author:
bird
Message:

Second iteration of the kFile* classes and interfaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/impdef/ImpDef.cpp

    r4823 r5531  
    1 /* $Id: ImpDef.cpp,v 1.6 2000-12-17 03:26:41 bird Exp $ */
     1/* $Id: ImpDef.cpp,v 1.7 2001-04-17 00:26:28 bird Exp $ */
    22/*
    33 * ImpDef - Create export file which use internal names and ordinals.
     
    1616#include "ImpDef.h"
    1717#include "kFile.h"
     18#include "kInterFaces.h"
    1819#include "kFileFormatBase.h"
    1920#include "kFileDef.h"
     
    2526static void   syntax(void);
    2627static long   processFile(const char *pszInput, const char *pszOutput, const POPTIONS pOptions);
    27 static char  *generateExportName(const PEXPORTENTRY pExport, char *pszBuffer, const POPTIONS pOptions);
     28static char  *generateExportName(const kExportEntry * pExport, char *pszBuffer, const POPTIONS pOptions);
    2829
    2930
     
    191192            try
    192193            {
    193                 EXPORTENTRY export;
     194                kExportEntry export;
    194195                kFile Output(pszOutput, FALSE);
    195196
     
    205206
    206207                /* Exports */
    207                 if (DefFile.findFirstExport(&export))
     208                if (DefFile.exportFindFirst(&export))
    208209                {
    209210                    Output.printf("EXPORTS\n");
     
    235236
    236237                        Output.printf("    %-*s  @%ld\n", 40, pszName, export.ulOrdinal);
    237                     } while (DefFile.findNextExport(&export));
     238                    } while (DefFile.exportFindNext(&export));
    238239                Output.setSize();
    239240                }
     
    275276 * @remark
    276277 */
    277 static char *generateExportName(const PEXPORTENTRY pExport, char *pszBuffer, const POPTIONS pOptions)
     278static char *generateExportName(const kExportEntry * pExport, char *pszBuffer, const POPTIONS pOptions)
    278279{
    279280    if (pExport->ulOrdinal < pOptions->ulOrdStartInternalFunctions)
Note: See TracChangeset for help on using the changeset viewer.