X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fld65%2Fexports.h;h=170f80978fa7b57cffdc9512f520f90d68733432;hb=c9b90692080a21fd4e78e5cd1871c35935d5d997;hp=e3c3d89a1081e84d4dbc7b48add5259ea797965c;hpb=ee6028993e3c7b3d535d7ea17e2ecc14bc179e6b;p=cc65 diff --git a/src/ld65/exports.h b/src/ld65/exports.h index e3c3d89a1..170f80978 100644 --- a/src/ld65/exports.h +++ b/src/ld65/exports.h @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 1998-2009, Ullrich von Bassewitz */ +/* (C) 1998-2010, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -46,8 +46,9 @@ #include "filepos.h" /* ld65 */ -#include "objdata.h" #include "config.h" +#include "memarea.h" +#include "objdata.h" @@ -114,11 +115,11 @@ void FreeImport (Import* I); Import* ReadImport (FILE* F, ObjData* Obj); /* Read an import from a file and insert it into the table */ -Import* GenImport (const char* Name, unsigned char AddrSize); +Import* GenImport (unsigned Name, unsigned char AddrSize); /* Generate a new import with the given name and address size and return it */ -void InsertImport (Import* I); -/* Insert an import into the table */ +Import* InsertImport (Import* I); +/* Insert an import into the table, return I */ void FreeExport (Export* E); /* Free an export. NOTE: This won't remove the export from the exports table, @@ -135,7 +136,7 @@ void InsertExport (Export* E); Export* CreateConstExport (unsigned Name, long Value); /* Create an export for a literal date */ -Export* CreateMemoryExport (unsigned Name, Memory* Mem, unsigned long Offs); +Export* CreateMemoryExport (unsigned Name, MemoryArea* Mem, unsigned long Offs); /* Create an relative export for a memory area offset */ Export* CreateSegmentExport (unsigned Name, Segment* Seg, unsigned long Offs);