mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Updates to perl documentation. Moved Rawlog->{lines} to Rawlog::get_lines()
instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1601 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bf0e9f163a
commit
f1ecfca8a7
3 changed files with 28 additions and 15 deletions
|
|
@ -11,6 +11,15 @@ rawlog_create()
|
|||
MODULE = Irssi PACKAGE = Irssi::Rawlog PREFIX = rawlog_
|
||||
#*******************************
|
||||
|
||||
void rawlog_get_lines(rawlog)
|
||||
Irssi::Rawlog rawlog
|
||||
PREINIT:
|
||||
GSList *tmp;
|
||||
PPCODE:
|
||||
for (tmp = rawlog->lines; tmp != NULL; tmp = tmp->next) {
|
||||
XPUSHs(sv_2mortal(new_pv(tmp->data)));
|
||||
}
|
||||
|
||||
void
|
||||
rawlog_destroy(rawlog)
|
||||
Irssi::Rawlog rawlog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue