mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
add format_string_expand to Perl
This commit is contained in:
parent
7d213da88a
commit
25ad30d5e4
@ -50,6 +50,16 @@ format_real_length(str, len)
|
||||
char *str
|
||||
int len
|
||||
|
||||
void
|
||||
format_string_expand(str)
|
||||
char *str
|
||||
PREINIT:
|
||||
char *ret;
|
||||
PPCODE:
|
||||
ret = format_string_expand(str, NULL);
|
||||
XPUSHs(sv_2mortal(new_pv(ret)));
|
||||
g_free(ret);
|
||||
|
||||
void
|
||||
strip_codes(input)
|
||||
char *input
|
||||
|
Loading…
Reference in New Issue
Block a user