Add RequestFrameCallback optional data param (#1068)

This commit is contained in:
42
2019-09-02 14:00:22 -07:00
committed by Kyle Sanderson
parent 7a42d6b564
commit 207584818f
+4 -1
View File
@@ -615,7 +615,10 @@ native int FormatNativeString(int out_param,
* *
* @param data Data passed to the RequestFrame native. * @param data Data passed to the RequestFrame native.
*/ */
typedef RequestFrameCallback = function void (any data); typeset RequestFrameCallback {
function void ();
function void (any data);
}
/** /**
* Creates a single use Next Frame hook. * Creates a single use Next Frame hook.