mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
window_[add|remove]_item -> window_item_[add|remove]
added window_item_destroy(), window_item_remove() doesn't destroy the item anymore window_find_item()'s first parameter changed from WINDOW_REC to SERVER_REC git-svn-id: http://svn.irssi.org/repos/irssi/trunk@922 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ed550c01d1
commit
df94b9a44c
10 changed files with 62 additions and 58 deletions
|
|
@ -130,7 +130,7 @@ window_find_closest(server, name, level)
|
|||
|
||||
|
||||
#*******************************
|
||||
MODULE = Irssi PACKAGE = Irssi::Window
|
||||
MODULE = Irssi PACKAGE = Irssi::Window PREFIX=window_
|
||||
#*******************************
|
||||
|
||||
void
|
||||
|
|
@ -184,13 +184,18 @@ CODE:
|
|||
signal_emit("send command", 3, cmd, server, item);
|
||||
|
||||
void
|
||||
window_add_item(window, item, automatic)
|
||||
window_item_add(window, item, automatic)
|
||||
Irssi::Window window
|
||||
Irssi::Windowitem item
|
||||
int automatic
|
||||
|
||||
void
|
||||
window_remove_item(window, item)
|
||||
window_item_remove(window, item)
|
||||
Irssi::Window window
|
||||
Irssi::Windowitem item
|
||||
|
||||
void
|
||||
window_item_destroy(window, item)
|
||||
Irssi::Window window
|
||||
Irssi::Windowitem item
|
||||
|
||||
|
|
@ -240,10 +245,19 @@ window_get_active_name(window)
|
|||
Irssi::Window window
|
||||
|
||||
Irssi::Window
|
||||
window_find_item(window, name)
|
||||
Irssi::Window window
|
||||
window_find_item(server, name)
|
||||
Irssi::Server server
|
||||
char *name
|
||||
|
||||
Irssi::Windowitem
|
||||
window_item_find(window, server, name)
|
||||
Irssi::Window window
|
||||
Irssi::Server server
|
||||
char *name
|
||||
CODE:
|
||||
RETVAL = window_item_find_window(window, server, name);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
#*******************************
|
||||
MODULE = Irssi PACKAGE = Irssi::Windowitem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue