mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
add some consts
This commit is contained in:
parent
3a896df199
commit
33d0db93e8
4 changed files with 4 additions and 4 deletions
|
@ -609,7 +609,7 @@ board_getScale( BoardCtxt* board, XP_U16* hScale, XP_U16* vScale )
|
|||
#endif
|
||||
|
||||
XP_Bool
|
||||
board_prefsChanged( BoardCtxt* board, CommonPrefs* cp )
|
||||
board_prefsChanged( BoardCtxt* board, const CommonPrefs* cp )
|
||||
{
|
||||
XP_Bool showArrowChanged;
|
||||
XP_Bool hideValChanged;
|
||||
|
|
|
@ -156,7 +156,7 @@ XP_Bool board_requestHint( BoardCtxt* board,
|
|||
#endif
|
||||
XP_Bool usePrev, XP_Bool* workRemainsP );
|
||||
|
||||
XP_Bool board_prefsChanged( BoardCtxt* board, CommonPrefs* cp );
|
||||
XP_Bool board_prefsChanged( BoardCtxt* board, const CommonPrefs* cp );
|
||||
|
||||
BoardObjectType board_getFocusOwner( BoardCtxt* board );
|
||||
|
||||
|
|
|
@ -546,7 +546,7 @@ figureSleepTime( const ServerCtxt* server )
|
|||
#endif
|
||||
|
||||
void
|
||||
server_prefsChanged( ServerCtxt* server, CommonPrefs* cp )
|
||||
server_prefsChanged( ServerCtxt* server, const CommonPrefs* cp )
|
||||
{
|
||||
server->nv.showRobotScores = cp->showRobotScores;
|
||||
server->nv.sortNewTiles = cp->sortNewTiles;
|
||||
|
|
|
@ -67,7 +67,7 @@ void server_writeToStream( const ServerCtxt* server, XWStreamCtxt* stream );
|
|||
void server_reset( ServerCtxt* server, CommsCtxt* comms );
|
||||
void server_destroy( ServerCtxt* server );
|
||||
|
||||
void server_prefsChanged( ServerCtxt* server, CommonPrefs* cp );
|
||||
void server_prefsChanged( ServerCtxt* server, const CommonPrefs* cp );
|
||||
|
||||
typedef void (*TurnChangeListener)( void* data );
|
||||
void server_setTurnChangeListener( ServerCtxt* server, TurnChangeListener tl,
|
||||
|
|
Loading…
Add table
Reference in a new issue