summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-28 08:24:07 -0700
committerKarl Williamson <public@khwilliamson.com>2012-01-13 09:58:35 -0700
commit934970aa10783f6f60f8eedab95c710f4d4eaa35 (patch)
tree7c4032202469d43cb95b8e8ef73297b224e6d011 /embed.fnc
parent4065ba03dae80110ad18a5eacfe7be6b89ffc249 (diff)
downloadperl-934970aa10783f6f60f8eedab95c710f4d4eaa35.tar.gz
utf8.c: Add flag to swash_init() to not croak on error
This adds the capability, to be used in future commits, for swash_ini() to return NULL instead of croaking if it can't find a property, so that the caller can choose how to handle the situation.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 9d2f239ccc..1cb3f3d09a 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1387,7 +1387,8 @@ EXMp |void |_append_range_to_invlist |NN SV* const invlist|const UV start|cons
EXMp |void |_invlist_populate_swatch |NN SV* const invlist|const UV start|const UV end|NN U8* swatch
#endif
#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
-EXp |SV* |_core_swash_init|NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits|I32 none
+EXp |SV* |_core_swash_init|NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits \
+ |I32 none|bool return_if_undef
#endif
Ap |void |taint_env
Ap |void |taint_proper |NULLOK const char* f|NN const char *const s