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:
@@ -51,6 +51,10 @@
|
||||
|
||||
|
||||
|
||||
/* Forwards */
|
||||
struct Scope;
|
||||
struct Section;
|
||||
|
||||
/* Values for the Flags field */
|
||||
#define OBJ_REF 0x0001 /* We have a reference to this file */
|
||||
|
||||
@@ -129,6 +133,12 @@ INLINE int ObjHasFiles (const ObjData* O)
|
||||
# define ObjHasFiles(O) ((O) != 0 && CollCount (&(O)->Files) != 0)
|
||||
#endif
|
||||
|
||||
struct Section* GetObjSection (ObjData* Obj, unsigned Id);
|
||||
/* Get a section from an object file checking for a valid index */
|
||||
|
||||
struct Scope* GetObjScope (ObjData* Obj, unsigned Id);
|
||||
/* Get a scope from an object file checking for a valid index */
|
||||
|
||||
|
||||
|
||||
/* End of objdata.h */
|
||||
|
||||
Reference in New Issue
Block a user