mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 23:52:22 +02:00
Irssi::signal_add(), Irssi::timeout_add(), Irssi::input_add() and their
variants now also allow use of code references. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2199 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9dd46372ff
commit
31dcd8258f
8 changed files with 112 additions and 82 deletions
|
|
@ -22,6 +22,9 @@ typedef struct {
|
|||
const char *perl_get_package(void);
|
||||
/* Parses the package part from function name */
|
||||
char *perl_function_get_package(const char *function);
|
||||
/* If SV is a string, prefix it with given package.
|
||||
Increases the reference counter for the return value. */
|
||||
SV *perl_func_sv_inc(SV *func, const char *package);
|
||||
|
||||
/* For compatibility with perl 5.004 and older */
|
||||
#ifndef HAVE_PL_PERL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue