mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Define PERL_NO_GET_CONTEXT in all perl source files
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).
This commit is contained in:
parent
c26a634fe6
commit
43df6e424e
33 changed files with 33 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#define PERL_NO_GET_CONTEXT
|
||||
#include "module.h"
|
||||
|
||||
static int magic_free_text_dest(pTHX_ SV *sv, MAGIC *mg)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#define PERL_NO_GET_CONTEXT
|
||||
#include "module.h"
|
||||
|
||||
static void printformat_perl(TEXT_DEST_REC *dest, char *format, char **arglist)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#define PERL_NO_GET_CONTEXT
|
||||
#include "module.h"
|
||||
|
||||
void perl_themes_init(void);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#define PERL_NO_GET_CONTEXT
|
||||
#include "module.h"
|
||||
|
||||
#include "window-activity.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue