mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
add format_string_expand to Perl
This commit is contained in:
parent
7d213da88a
commit
25ad30d5e4
1 changed files with 10 additions and 0 deletions
|
|
@ -50,6 +50,16 @@ format_real_length(str, len)
|
||||||
char *str
|
char *str
|
||||||
int len
|
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
|
void
|
||||||
strip_codes(input)
|
strip_codes(input)
|
||||||
char *input
|
char *input
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue