mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
add a meta table to all lines
This commit is contained in:
parent
554a8556d2
commit
7d13cfba07
3 changed files with 58 additions and 5 deletions
|
|
@ -156,3 +156,22 @@ print(dest, str)
|
|||
char *str
|
||||
CODE:
|
||||
printtext_dest(dest, "%s", str);
|
||||
|
||||
#*******************************
|
||||
MODULE = Irssi::UI::Formats PACKAGE = Irssi::UI::TextDest PREFIX = format_dest_
|
||||
#*******************************
|
||||
|
||||
void
|
||||
format_dest_meta_stash(dest, meta_key, meta_value)
|
||||
Irssi::UI::TextDest dest
|
||||
char *meta_key
|
||||
char *meta_value
|
||||
|
||||
char *
|
||||
format_dest_meta_stash_find(dest, meta_key)
|
||||
Irssi::UI::TextDest dest
|
||||
char *meta_key
|
||||
CODE:
|
||||
RETVAL = (char *) format_dest_meta_stash_find(dest, meta_key);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue