Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions embed.fnc
Original file line number Diff line number Diff line change
Expand Up @@ -4429,10 +4429,6 @@ S |void |populate_hash_from_C_localeconv \
|const U32 which_mask \
|NN const lconv_offset_t *strings[2] \
|NN const lconv_offset_t *integers[2]
S |const char *|save_to_buffer \
|NULLOK const char *string \
|NULLOK char **buf \
|NULLOK Size_t *buf_size
S |void |set_save_buffer_min_size \
|const Size_t min_len \
|NULLOK char **buf \
Expand Down Expand Up @@ -4486,6 +4482,10 @@ So |void |restore_toggled_locale_i \
|const locale_category_index cat_index \
|NULLOK const char *original_locale \
|const line_t caller_line
S |const char *|save_to_buffer \
|NULLOK const char *string \
|NULLOK char **buf \
|NULLOK Size_t *buf_size
Sr |void |setlocale_failure_panic_via_i \
|const locale_category_index cat_index \
|NULLOK const char *current \
Expand Down
2 changes: 1 addition & 1 deletion embed.h
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,6 @@
# define is_locale_utf8(a) S_is_locale_utf8(aTHX_ a)
# define my_localeconv(a) S_my_localeconv(aTHX_ a)
# define populate_hash_from_C_localeconv(a,b,c,d,e) S_populate_hash_from_C_localeconv(aTHX_ a,b,c,d,e)
# define save_to_buffer(a,b,c) S_save_to_buffer(aTHX_ a,b,c)
# define set_save_buffer_min_size(a,b,c) S_set_save_buffer_min_size(aTHX_ a,b,c)
# define strftime8(a,b,c,d,e) S_strftime8(aTHX_ a,b,c,d,e)
# define strftime_tm(a,b) S_strftime_tm(aTHX_ a,b)
Expand All @@ -1333,6 +1332,7 @@
# define new_LC_ALL(a,b) S_new_LC_ALL(aTHX_ a,b)
# define output_check_environment_warning(a,b,c) S_output_check_environment_warning(aTHX_ a,b,c)
# define parse_LC_ALL_string(a,b,c,d,e,f) S_parse_LC_ALL_string(aTHX_ a,b,c,d,e,f)
# define save_to_buffer(a,b,c) S_save_to_buffer(aTHX_ a,b,c)
# define setlocale_failure_panic_via_i(a,b,c,d,e,f,g) S_setlocale_failure_panic_via_i(aTHX_ a,b,c,d,e,f,g)
# if defined(DEBUGGING)
# define my_setlocale_debug_string_i(a,b,c,d) S_my_setlocale_debug_string_i(aTHX_ a,b,c,d)
Expand Down
3 changes: 3 additions & 0 deletions locale.c
Original file line number Diff line number Diff line change
Expand Up @@ -4801,6 +4801,8 @@ S_is_locale_utf8(pTHX_ const char * locale)

#endif

#ifdef USE_LOCALE

STATIC void
S_set_save_buffer_min_size(pTHX_ Size_t min_len,
char **buf,
Expand Down Expand Up @@ -4888,6 +4890,7 @@ S_save_to_buffer(pTHX_ const char * string, char **buf, Size_t *buf_size)
return *buf;
}

#endif
#ifdef USE_LOCALE
# ifdef WIN32

Expand Down
8 changes: 4 additions & 4 deletions proto.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.