Skip to content
Permalink
Browse files

Add RequestFrameCallback optional data param (#1068)

  • Loading branch information...
FortyTwoFortyTwo authored and KyleSanderson committed Sep 2, 2019
1 parent 7a42d6b commit 207584818f7b6b0c973ec680a2956af3d24ab5f7
Showing with 4 additions and 1 deletion.
  1. +4 −1 plugins/include/functions.inc
@@ -615,7 +615,10 @@ native int FormatNativeString(int out_param,
*
* @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.

0 comments on commit 2075848

Please sign in to comment.
You can’t perform that action at this time.