Added cc65_seginfo_byname.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5190 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-17 15:26:40 +00:00
parent fa6b2e40fd
commit 9724ed5506
2 changed files with 81 additions and 1 deletions

View File

@@ -367,6 +367,14 @@ const cc65_segmentinfo* cc65_segmentinfo_byid (cc65_dbginfo handle, unsigned id)
* structure with one entry that contains the requested segment information.
*/
const cc65_segmentinfo* cc65_segmentinfo_byname (cc65_dbginfo handle,
const char* name);
/* Return information about a segment with a specific name. The function
* returns NULL if no segment with this name exists and otherwise a
* cc65_segmentinfo structure with one entry that contains the requested
* information.
*/
void cc65_free_segmentinfo (cc65_dbginfo handle, const cc65_segmentinfo* info);
/* Free a segment info record */