Skip to content

Commit

Permalink
For the move of ioSetInputSemaphore to sqUnixEvent noEvents must be d…
Browse files Browse the repository at this point in the history
…eclared
  • Loading branch information
eliotmiranda committed May 20, 2024
1 parent 2eefa41 commit 5efd464
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
19 changes: 0 additions & 19 deletions platforms/unix/vm/sqUnixMain.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,25 +563,6 @@ getAttributeString(sqInt id)
return 0;
}

/*** event handling ***/


sqInt inputEventSemaIndex= 0;


/* set asynchronous input event semaphore */

sqInt
ioSetInputSemaphore(sqInt semaIndex)
{
if ((semaIndex == 0) || (noEvents == 1))
success(false);
else
inputEventSemaIndex= semaIndex;
return true;
}


/*** display functions ***/

sqInt
Expand Down
1 change: 1 addition & 0 deletions platforms/unix/vm/sqUnixMain.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ extern char *exeName;
extern char **argVec;

extern int fullScreenFlag;
extern int noEvents;
extern int textEncodingUTF8;

extern void imgInit(void);
Expand Down

0 comments on commit 5efd464

Please sign in to comment.