diff options
author | Timo Sirainen <cras@irssi.org> | 2000-12-17 01:29:07 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-12-17 01:29:07 +0000 |
commit | 2523a02104fbc885138d1e63016bace31734b124 (patch) | |
tree | b23867ed286c0f82c8174282f97726873ae140af /src/perl | |
parent | 6e19541f461ec005a12c5738aeb3ce85a275adac (diff) | |
download | irssi-2523a02104fbc885138d1e63016bace31734b124.zip |
Irssi::printformat() syntax changed: removed server and target, use
$server->printformat() or $target->printformat() if needed..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@997 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r-- | src/perl/common/Themes.xs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/perl/common/Themes.xs b/src/perl/common/Themes.xs index 88067562..46958b63 100644 --- a/src/perl/common/Themes.xs +++ b/src/perl/common/Themes.xs @@ -1,3 +1,4 @@ + MODULE = Irssi PACKAGE = Irssi void @@ -33,9 +34,7 @@ CODE: theme_register_module(perl_get_package(), formatrecs); void -printformat(server, target, level, format, ...) - Irssi::Server server - char *target +printformat(level, format, ...) int level char *format PREINIT: @@ -43,7 +42,7 @@ PREINIT: char *arglist[MAX_FORMAT_PARAMS]; int n; CODE: - format_create_dest(&dest, server, target, level, NULL); + format_create_dest(&dest, NULL, NULL, level, NULL); memset(arglist, 0, sizeof(arglist)); for (n = 4; n < 4+MAX_FORMAT_PARAMS; n++) { arglist[n-4] = n < items ? SvPV(ST(n), PL_na) : ""; |