Return the value from GuiPoll

This commit is contained in:
phosit
2024-11-11 21:54:58 +01:00
parent f23dde2f73
commit cfb742c914
3 changed files with 8 additions and 15 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ public:
*
* @return next message, or the value 'undefined' if the queue is empty
*/
void GuiPoll(const ScriptRequest& rq, JS::MutableHandleValue ret);
JS::Value GuiPoll(const ScriptRequest& rq);
/**
* Add a message to the queue, to be read by GuiPoll.