Update project files.

This commit is contained in:
Arkshine
2014-08-08 11:00:49 +02:00
parent c22bb12c1e
commit eeb4ecd109
24 changed files with 385 additions and 31 deletions

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -11,7 +11,7 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{5E393C37-22F2-4CA2-9022-6400DC582447}</ProjectGuid>
<ProjectGuid>{A8B3717F-2663-4099-AE96-AF5B7266FDA8}</ProjectGuid>
<RootNamespace>hamsandwich</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
@ -52,8 +52,8 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\;..\sdk;..\..\..\public\amtl;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HAMSANDWICH_EXPORTS; HAVE_STDINT_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
@ -71,13 +71,14 @@
<TargetMachine>MachineX86</TargetMachine>
</Link>
<PostBuildEvent>
<Command>copy $(OutDir)hamsandwich_amxx.dll c:\hlds\cstrike\addons\amxmodx\modules</Command>
<Command>
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>..\;..\sdk;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\;..\sdk;..\..\..\public\amtl;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\pm_shared;$(HLSDK)\public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;HAMSANDWICH_EXPORTS; HAVE_STDINT_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
<PrecompiledHeader>

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -52,7 +52,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\;..\..\..\..\mysql-5.0\include;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MYSQL2_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
@ -64,7 +64,7 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>wsock32.lib;$(MYSQL5)\lib\opt\mysqlclient.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>wsock32.lib;..\..\..\..\mysql-5.0\lib\opt\mysqlclient.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries>LIBCMT;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)mysql2.pdb</ProgramDatabaseFile>
@ -75,7 +75,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>..\;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\;..\..\..\..\mysql-5.0\include;..\mysql;..\sdk;..\thread;$(METAMOD)\metamod;$(HLSDK)\common;$(HLSDK)\engine;$(HLSDK)\dlls;$(HLSDK)\public;$(MYSQL5)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MYSQL2_EXPORTS;SM_DEFAULT_THREADER;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
@ -85,7 +85,7 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>wsock32.lib;$(MYSQL5)\lib\opt\mysqlclient.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>wsock32.lib;..\..\..\..\mysql-5.0\lib\opt\mysqlclient.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);

View File

@ -2712,6 +2712,7 @@ void MF_LogError(AMX *amx, int err, const char *fmt, ...)
// Makes sure compiler reports errors when macros are invalid
void ValidateMacros_DontCallThis_Smiley()
{
const cell str[] = { 's', 't', 'r', '\0' };
MF_BuildPathname("str", "str", 0);
MF_BuildPathnameR(NULL, 0, "%d", 0);
MF_FormatAmxString(NULL, 0, 0, NULL);
@ -2724,7 +2725,7 @@ void ValidateMacros_DontCallThis_Smiley()
MF_FindScriptByName("str");
MF_SetAmxString(NULL, 0, "str", 0);
MF_SetAmxStringUTF8Char(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, "str", 0, 0);
MF_SetAmxStringUTF8Cell(NULL, 0, str, 0, 0);
MF_GetAmxString(NULL, 0, 0, 0);
MF_GetAmxStringLen(NULL);
MF_CopyAmxMemory(NULL, NULL, 0);