Added cc65_line_byid.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5193 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-17 15:58:21 +00:00
parent 1c7e4b483e
commit 1d025a3230
2 changed files with 41 additions and 1 deletions

View File

@@ -175,6 +175,13 @@ struct cc65_lineinfo {
const cc65_lineinfo* cc65_line_byid (cc65_dbginfo handle, unsigned id);
/* Return information about a line with a specific id. The function
* returns NULL if the id is invalid (no such line) and otherwise a
* cc65_lineinfo structure with one entry that contains the requested
* module information.
*/
const cc65_lineinfo* cc65_line_bynumber (cc65_dbginfo handle,
unsigned source_id,
cc65_line line);