diff options
author | Timo Sirainen <cras@irssi.org> | 2001-07-16 20:03:36 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-07-16 20:03:36 +0000 |
commit | 0d3b5c729f16a0c8c2d7ccbc04854de2e8b5b45a (patch) | |
tree | 62b36dfd8644270e278561c438268b6f722149e6 /src/perl/common | |
parent | f37d661ac3ef4f39e923f4b36838ea4d86138c50 (diff) | |
download | irssi-0d3b5c729f16a0c8c2d7ccbc04854de2e8b5b45a.zip |
Added Irssi::command_bind_first() and Irssi::command_bind_last()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1638 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common')
-rw-r--r-- | src/perl/common/Core.xs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/perl/common/Core.xs b/src/perl/common/Core.xs index e69b5a50..6c04cc9d 100644 --- a/src/perl/common/Core.xs +++ b/src/perl/common/Core.xs @@ -316,6 +316,14 @@ PPCODE: } void +command_bind_first(cmd, func, category = "Perl scripts' commands") + char *cmd + char *category + char *func +CODE: + perl_command_bind_first(cmd, category, func); + +void command_bind(cmd, func, category = "Perl scripts' commands") char *cmd char *category @@ -324,6 +332,14 @@ CODE: perl_command_bind(cmd, category, func); void +command_bind_last(cmd, func, category = "Perl scripts' commands") + char *cmd + char *category + char *func +CODE: + perl_command_bind_last(cmd, category, func); + +void command_runsub(cmd, data, server, item) char *cmd char *data |