add "print format" signal to perl

fix syntax in signals.txt with regards to GLists

simplify signal emit code
This commit is contained in:
ailin-nemui 2020-05-11 17:46:45 +02:00
commit 4330dbec62
8 changed files with 229 additions and 176 deletions

View file

@ -16,14 +16,15 @@ while (<>) {
$signal = $1;
$_ = $3;
s/GList \* of ([^,]*)/glistptr_\1/g;
s/GSList of (\w+)s/gslist_\1/g;
s/GList \* of ([^,]*)s/glistptr_\1/g;
s/GSList of ([^,]*)s/gslist_\1/g;
s/char \*[^,]*/string/g;
s/ulong \*[^,]*/ulongptr/g;
s/int \*[^,]*/intptr/g;
s/int [^,]*/int/g;
my %map = (
# core
CHATNET_REC => 'iobject',