mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
43df6e424e
This removes the calls to Perl_get_context() that get automatically added to XS code for ancient source code compatibility reasons. The result is about a ~60K size reduction in the binary (based on comparing two 64-bit stripped irssi binaries compiled --with-perl-staticlib).
19 lines
392 B
Plaintext
19 lines
392 B
Plaintext
#define PERL_NO_GET_CONTEXT
|
|
#include "module.h"
|
|
|
|
MODULE = Irssi::Irc::Netsplit PACKAGE = Irssi::Irc::Server
|
|
PROTOTYPES: ENABLE
|
|
|
|
Irssi::Irc::Netsplit
|
|
netsplit_find(server, nick, address)
|
|
Irssi::Irc::Server server
|
|
char *nick
|
|
char *address
|
|
|
|
Irssi::Irc::Netsplitchannel
|
|
netsplit_find_channel(server, nick, address, channel)
|
|
Irssi::Irc::Server server
|
|
char *nick
|
|
char *address
|
|
char *channel
|