Skip to content

Commit 70bdd44

Browse files
authored
Merge pull request #428 from sznorbert07/feature/is-lan-address
Export Sys_IsLANAddress as Plugin_IsLANAddress
2 parents 016f5e0 + dd6c876 commit 70bdd44

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

plugins/function_declarations.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154
__cdecl qboolean Plugin_NET_CompareAdr (netadr_t *a, netadr_t *b);
155155
__cdecl qboolean Plugin_NET_CompareBaseAdrMask(netadr_t *a, netadr_t *b, int netmask);
156156
__cdecl qboolean Plugin_NET_CompareBaseAdr (netadr_t *a, netadr_t *b);
157+
158+
__cdecl qboolean Plugin_IsLANAddress(netadr_t *a);
157159

158160
/* Do not use anymore */
159161
// __cdecl const char *Plugin_NET_AdrToString (netadr_t *a);

src/asmsource/pluginexports.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ pexport NET_CompareAdr
125125
ralias Plugin_Milliseconds, Sys_Milliseconds
126126
ralias Plugin_SleepSec, Sys_SleepSec
127127
ralias Plugin_SleepMSec, Sys_SleepMSec
128+
ralias Plugin_IsLANAddress, Sys_IsLANAddress
128129

129130
pexport Scr_AddEntity
130131
pexport Scr_AllocArray

0 commit comments

Comments
 (0)