Skip to content

Commit ba89e35

Browse files
committed
Make pawnruns use amxString as a built-in module
1 parent cd29fad commit ba89e35

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

source/compiler/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ if(BUILD_TESTING)
176176
../amx/amxaux.h
177177
../amx/amxcons.c
178178
../amx/amxcore.c
179+
../amx/amxstring.c
179180
)
180181
if(UNIX)
181182
set(PAWNRUNS_SRCS

source/compiler/pawnruns.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ static void PrintUsage(char *program)
2727
int main(int argc,char *argv[])
2828
{
2929
extern AMX_NATIVE_INFO console_Natives[];
30+
extern AMX_NATIVE_INFO string_Natives[];
3031
extern AMX_NATIVE_INFO core_Natives[];
3132

3233
AMX amx;
@@ -41,6 +42,7 @@ int main(int argc,char *argv[])
4142
ErrorExit(&amx, err);
4243

4344
amx_Register(&amx, console_Natives, -1);
45+
amx_Register(&amx, string_Natives, -1);
4446
err = amx_Register(&amx, core_Natives, -1);
4547
if (err != AMX_ERR_NONE)
4648
ErrorExit(&amx, err);

0 commit comments

Comments
 (0)