summaryrefslogtreecommitdiff
path: root/source/script
diff options
context:
space:
mode:
Diffstat (limited to 'source/script')
-rw-r--r--source/script/mkproto.awk10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk
index 5c3594f7c99..76a61193a27 100644
--- a/source/script/mkproto.awk
+++ b/source/script/mkproto.awk
@@ -60,6 +60,11 @@ END {
printf "BOOL %s(int );\n", a[2]
}
+/^FN_LOCAL_LIST/ {
+ split($0,a,"[,()]")
+ printf "char **%s(int );\n", a[2]
+}
+
/^FN_LOCAL_STRING/ {
split($0,a,"[,()]")
printf "char *%s(int );\n", a[2]
@@ -80,6 +85,11 @@ END {
printf "BOOL %s(void);\n", a[2]
}
+/^FN_GLOBAL_LIST/ {
+ split($0,a,"[,()]")
+ printf "char **%s(void);\n", a[2]
+}
+
/^FN_GLOBAL_STRING/ {
split($0,a,"[,()]")
printf "char *%s(void);\n", a[2]