Add RequestFrameCallback optional data param (#1068)

This commit is contained in:
42 2019-09-02 22:00:22 +01:00 committed by Kyle Sanderson
parent 7a42d6b564
commit 207584818f

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.