Changeset 5531 for trunk/tools/impdef/ImpDef.cpp
- Timestamp:
- Apr 17, 2001, 2:26:28 AM (24 years ago)
- 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:41bird Exp $ */1 /* $Id: ImpDef.cpp,v 1.7 2001-04-17 00:26:28 bird Exp $ */ 2 2 /* 3 3 * ImpDef - Create export file which use internal names and ordinals. … … 16 16 #include "ImpDef.h" 17 17 #include "kFile.h" 18 #include "kInterFaces.h" 18 19 #include "kFileFormatBase.h" 19 20 #include "kFileDef.h" … … 25 26 static void syntax(void); 26 27 static long processFile(const char *pszInput, const char *pszOutput, const POPTIONS pOptions); 27 static char *generateExportName(const PEXPORTENTRYpExport, char *pszBuffer, const POPTIONS pOptions);28 static char *generateExportName(const kExportEntry * pExport, char *pszBuffer, const POPTIONS pOptions); 28 29 29 30 … … 191 192 try 192 193 { 193 EXPORTENTRYexport;194 kExportEntry export; 194 195 kFile Output(pszOutput, FALSE); 195 196 … … 205 206 206 207 /* Exports */ 207 if (DefFile. findFirstExport(&export))208 if (DefFile.exportFindFirst(&export)) 208 209 { 209 210 Output.printf("EXPORTS\n"); … … 235 236 236 237 Output.printf(" %-*s @%ld\n", 40, pszName, export.ulOrdinal); 237 } while (DefFile. findNextExport(&export));238 } while (DefFile.exportFindNext(&export)); 238 239 Output.setSize(); 239 240 } … … 275 276 * @remark 276 277 */ 277 static char *generateExportName(const PEXPORTENTRYpExport, char *pszBuffer, const POPTIONS pOptions)278 static char *generateExportName(const kExportEntry * pExport, char *pszBuffer, const POPTIONS pOptions) 278 279 { 279 280 if (pExport->ulOrdinal < pOptions->ulOrdStartInternalFunctions)
Note:
See TracChangeset
for help on using the changeset viewer.