summaryrefslogtreecommitdiff
path: root/source/aparser/templates/prs_wstring_fixed.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'source/aparser/templates/prs_wstring_fixed.tpl')
-rw-r--r--source/aparser/templates/prs_wstring_fixed.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/aparser/templates/prs_wstring_fixed.tpl b/source/aparser/templates/prs_wstring_fixed.tpl
new file mode 100644
index 00000000000..e33f7c3d5d2
--- /dev/null
+++ b/source/aparser/templates/prs_wstring_fixed.tpl
@@ -0,0 +1,2 @@
+ if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@))*(@ARRAY_LEN@))) goto fail;
+ if (!io_wstring("@ELEM@", ps, depth+1, il->@ELEM@, @ARRAY_LEN@, @FLAGS@)) goto fail;