mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
add a couple of consts
This commit is contained in:
parent
451315f2c4
commit
1fba7d7ef6
2 changed files with 2 additions and 2 deletions
|
@ -331,7 +331,7 @@ mem_stream_close( XWStreamCtxt* p_sctx )
|
|||
} /* mem_stream_close */
|
||||
|
||||
static XP_U16
|
||||
mem_stream_getSize( XWStreamCtxt* p_sctx )
|
||||
mem_stream_getSize( const XWStreamCtxt* p_sctx )
|
||||
{
|
||||
MemStreamCtxt* stream = (MemStreamCtxt*)p_sctx;
|
||||
XP_U16 size = stream->nBytesWritten - stream->curReadPos;
|
||||
|
|
|
@ -68,7 +68,7 @@ typedef struct StreamCtxVTable {
|
|||
void (*m_stream_open)( XWStreamCtxt* dctx );
|
||||
void (*m_stream_close)( XWStreamCtxt* dctx );
|
||||
|
||||
XP_U16 (*m_stream_getSize)( XWStreamCtxt* dctx );
|
||||
XP_U16 (*m_stream_getSize)( const XWStreamCtxt* dctx );
|
||||
|
||||
/* void (*m_stream_makeReturnAddr)( XWStreamCtxt* dctx, XP_PlayerAddr* addr, */
|
||||
/* XP_U16* addrLen ); */
|
||||
|
|
Loading…
Reference in a new issue