Skip to content

Commit 2075848

Browse files
FortyTwoFortyTwoKyleSanderson
authored andcommitted
Add RequestFrameCallback optional data param (#1068)
1 parent 7a42d6b commit 2075848

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugins/include/functions.inc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,10 @@ native int FormatNativeString(int out_param,
615615
*
616616
* @param data Data passed to the RequestFrame native.
617617
*/
618-
typedef RequestFrameCallback = function void (any data);
618+
typeset RequestFrameCallback {
619+
function void ();
620+
function void (any data);
621+
}
619622

620623
/**
621624
* Creates a single use Next Frame hook.

0 commit comments

Comments
 (0)