mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
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).
12 lines
249 B
Plaintext
12 lines
249 B
Plaintext
#define PERL_NO_GET_CONTEXT
|
|
#include "module.h"
|
|
|
|
MODULE = Irssi::Irc::Query PACKAGE = Irssi::Irc::Server PREFIX = irc_
|
|
PROTOTYPES: ENABLE
|
|
|
|
Irssi::Irc::Query
|
|
irc_query_create(server_tag, nick, automatic)
|
|
char *server_tag
|
|
char *nick
|
|
int automatic
|