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:
Timo Sirainen 2001-06-30 09:49:59 +00:00 committed by cras
commit f1ecfca8a7
3 changed files with 28 additions and 15 deletions

View file

@ -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