Make a few params const
git-svn-id: svn://svn.cc65.org/cc65/trunk@3155 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -91,7 +91,7 @@ void FreeStrBuf (StrBuf* B);
|
|||||||
/* Free a string buffer */
|
/* Free a string buffer */
|
||||||
|
|
||||||
#if defined(HAVE_INLINE)
|
#if defined(HAVE_INLINE)
|
||||||
INLINE unsigned SB_GetLen (StrBuf* B)
|
INLINE unsigned SB_GetLen (const StrBuf* B)
|
||||||
/* Return the length of the buffer contents */
|
/* Return the length of the buffer contents */
|
||||||
{
|
{
|
||||||
return B->Len;
|
return B->Len;
|
||||||
@@ -101,7 +101,7 @@ INLINE unsigned SB_GetLen (StrBuf* B)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_INLINE)
|
#if defined(HAVE_INLINE)
|
||||||
INLINE unsigned SB_GetIndex (StrBuf* B)
|
INLINE unsigned SB_GetIndex (const StrBuf* B)
|
||||||
/* Return the user index of the string buffer */
|
/* Return the user index of the string buffer */
|
||||||
{
|
{
|
||||||
return B->Index;
|
return B->Index;
|
||||||
|
|||||||
Reference in New Issue
Block a user