Skip to content

Commit

Permalink
Fix unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Less committed Nov 17, 2023
1 parent 0cd1e9f commit 68dc5c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions YSI_Server/y_natives/y_natives_entry.inc
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ if (defined("MAYBE_CreateDynamicCircle"))

// TODO: `void:` and `string:` return support.

#define yN@_:yN_@:%8$(%0)(%1)(%2)(%3)(%4)(%5); %8$native _@yN%2()=heapspace;stock %1%2(%3){static s=-1;return _yN@(%0,.s=s),%1_@yN%2();}
#define yN_@:%8$(%0)(%1)(%2)(%3)(%4)(%5) %8$native _@yN%2()=heapspace;stock %1%2(%3){static s=-3;return _yN@(%0,.s=s,.f=_:addressof(_@%2<%4>)),%1_@yN%2();}%1_@%2(%3)
#define yN@_:yN_@:%8$(%0)(%1)(%2)(%3)(%4)(%5); %8$native _@yN%2()=heapspace;stock %1%2(%3){static s=-1;return _yN@(%0,.s=s),H@(%5),%1_@yN%2();}
#define yN_@:%8$(%0)(%1)(%2)(%3)(%4)(%5) %8$native _@yN%2()=heapspace;stock %1%2(%3){static s=-3;return _yN@(%0,.s=s,.f=_:addressof(_@%2<%4>)),H@(%5),%1_@yN%2();}%1_@%2(%3)

stock _yN@(const string:name[], &s, const string:requires[] = "", f = 0, print = -1)
{
Expand Down

0 comments on commit 68dc5c5

Please sign in to comment.