Use the Span structure also for scopes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5115 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* common */
|
||||
#include "coll.h"
|
||||
|
||||
@@ -49,6 +51,7 @@
|
||||
|
||||
|
||||
|
||||
struct ObjData;
|
||||
struct Segment;
|
||||
|
||||
|
||||
@@ -77,6 +80,12 @@ struct Span {
|
||||
Span* NewSpan (struct Segment* Seg, unsigned long Offs, unsigned long Size);
|
||||
/* Create and return a new span */
|
||||
|
||||
Span* ReadSpan (FILE* F, struct ObjData* O);
|
||||
/* Read a Span from a file and return it */
|
||||
|
||||
void ReadSpans (Collection* Spans, FILE* F, struct ObjData* O);
|
||||
/* Read a list of Spans from a file and return it */
|
||||
|
||||
void FreeSpan (Span* S);
|
||||
/* Free a span structure */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user