Skip to content

Commit

Permalink
Fix compile errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Cole committed Nov 4, 2023
1 parent ca9e7c9 commit 2626fcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions YSI_Core/y_core/y_amx_tests.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ static stock

@test(.group = "y_amx") y_amx_StringRead1B()
{
YSI_gsAddr = ref(YSI_gsInput);
YSI_gsAddr = AMX_Ref(YSI_gsInput[0]);
AMX_WriteUnpackedString(YSI_gsAddr, __COMPILER_UNPACK"Shorter string.");
AMX_ReadString(YSI_gsAddr, YSI_gsOutput);
ASSERT_SAME(YSI_gsOutput, "Shorter string.");
}

@test(.group = "y_amx") y_amx_StringRead2B()
{
YSI_gsAddr = ref(YSI_gsInput);
YSI_gsAddr = AMX_Ref(YSI_gsInput[0]);
AMX_WriteUnpackedString(YSI_gsAddr, __COMPILER_UNPACK"Shorter string.");
AMX_ReadPackedString(YSI_gsAddr, YSI_gsOutput);
ASSERT_SAME(YSI_gsOutput, "Shorter string.");
}

@test(.group = "y_amx") y_amx_StringRead3B()
{
YSI_gsAddr = ref(YSI_gsInput);
YSI_gsAddr = AMX_Ref(YSI_gsInput[0]);
AMX_WriteUnpackedString(YSI_gsAddr, __COMPILER_UNPACK"Shorter string.");
AMX_ReadUnpackedString(YSI_gsAddr, YSI_gsOutput);
ASSERT_SAME(YSI_gsOutput, "Shorter string.");
Expand Down
1 change: 1 addition & 0 deletions YSI_Server/y_decorator/y_decorator_entry.inc
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Optional plugins:
Me - sscanf2, fixes2, Whirlpool.
*/

#include "..\..\YSI_Core\y_utils"
#include "..\y_thirdpartyinclude\y_codeparse"

#define @decorator__(%2)(%3)%0(%1) FUNC_PARSER(DECORATOR__,ARR_CST:STR_CST:NUM_CST:)(%0(%1))(%0)(%1)()()(%2)(%3)
Expand Down

0 comments on commit 2626fcd

Please sign in to comment.