Skip to content

Commit

Permalink
Merge pull request #428 from sznorbert07/feature/is-lan-address
Browse files Browse the repository at this point in the history
Export Sys_IsLANAddress as Plugin_IsLANAddress
  • Loading branch information
proxict authored Jan 5, 2025
2 parents 016f5e0 + dd6c876 commit 70bdd44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/function_declarations.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@
__cdecl qboolean Plugin_NET_CompareAdr (netadr_t *a, netadr_t *b);
__cdecl qboolean Plugin_NET_CompareBaseAdrMask(netadr_t *a, netadr_t *b, int netmask);
__cdecl qboolean Plugin_NET_CompareBaseAdr (netadr_t *a, netadr_t *b);

__cdecl qboolean Plugin_IsLANAddress(netadr_t *a);

/* Do not use anymore */
// __cdecl const char *Plugin_NET_AdrToString (netadr_t *a);
Expand Down
1 change: 1 addition & 0 deletions src/asmsource/pluginexports.asm
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ pexport NET_CompareAdr
ralias Plugin_Milliseconds, Sys_Milliseconds
ralias Plugin_SleepSec, Sys_SleepSec
ralias Plugin_SleepMSec, Sys_SleepMSec
ralias Plugin_IsLANAddress, Sys_IsLANAddress

pexport Scr_AddEntity
pexport Scr_AllocArray
Expand Down

0 comments on commit 70bdd44

Please sign in to comment.