mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 06:25:17 +00:00
Fixed a typo
git-svn-id: svn://svn.cc65.org/cc65/trunk@2818 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -70,15 +70,15 @@ SegRange* NewSegRange (struct Segment* Seg);
|
|||||||
/* Create a new segment range. The segment is set to Seg, Start and End are
|
/* Create a new segment range. The segment is set to Seg, Start and End are
|
||||||
* set to the current PC of the segment.
|
* set to the current PC of the segment.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(HAVE_INLINE)
|
#if defined(HAVE_INLINE)
|
||||||
INLINE unsigned long GetSegRangeSize (const SegRange* R)
|
INLINE unsigned long GetSegRangeSize (const SegRange* R)
|
||||||
/* Return the segment range size in bytes */
|
/* Return the segment range size in bytes */
|
||||||
{
|
{
|
||||||
return (R->End - R->Start);
|
return (R->End - R->Start);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# define GetSegRangeSize (R) ((R)->End - (R)->Start)
|
# define GetSegRangeSize(R) ((R)->End - (R)->Start)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void AddSegRanges (Collection* Ranges);
|
void AddSegRanges (Collection* Ranges);
|
||||||
@@ -100,3 +100,4 @@ void CloseSegRanges (Collection* Ranges);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user