From 207584818f7b6b0c973ec680a2956af3d24ab5f7 Mon Sep 17 00:00:00 2001 From: 42 <33488710+FortyTwoFortyTwo@users.noreply.github.com> Date: Mon, 2 Sep 2019 22:00:22 +0100 Subject: [PATCH] Add RequestFrameCallback optional data param (#1068) --- plugins/include/functions.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/include/functions.inc b/plugins/include/functions.inc index 8ab039d0..925040ce 100644 --- a/plugins/include/functions.inc +++ b/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.