mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02: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).
21 lines
359 B
Text
21 lines
359 B
Text
#define PERL_NO_GET_CONTEXT
|
|
#include "module.h"
|
|
#include "ctcp.h"
|
|
|
|
MODULE = Irssi::Irc::Ctcp PACKAGE = Irssi
|
|
PROTOTYPES: ENABLE
|
|
|
|
void
|
|
ctcp_register(name)
|
|
char *name
|
|
|
|
void
|
|
ctcp_unregister(name)
|
|
char *name
|
|
|
|
MODULE = Irssi::Irc::Ctcp PACKAGE = Irssi::Irc::Server PREFIX = irc_server_
|
|
|
|
void
|
|
ctcp_send_reply(server, data)
|
|
Irssi::Irc::Server server
|
|
char *data
|