diff options
author | Karl Williamson <khw@cpan.org> | 2023-02-02 18:11:26 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2023-03-01 17:00:52 -0700 |
commit | 32346b7cdde5bcf8a0c8c9ee89ef541d8fe9a7b7 (patch) | |
tree | c1c1d1654e828dff1e17af76834bb73383a0f114 /embed.fnc | |
parent | 4a7bea40c45452cd472c087fe36c369a1b5ffc36 (diff) | |
download | perl-32346b7cdde5bcf8a0c8c9ee89ef541d8fe9a7b7.tar.gz |
Inline get_context() for non-Win32
This trivial function should get optimized out. But I couldn't get it
to work for Windows, because the two likely hdr files don't have
PL_thr_key defined in them. I suppose a new hdr file could be created
that gets included later. But I didn't think it was worth it.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1184,8 +1184,6 @@ ERXp |SV * |get_and_check_backslash_N_name \ |NN const char **error_msg AOdp |AV * |get_av |NN const char *name \ |I32 flags - -CRTdp |void * |get_context AOdp |CV * |get_cv |NN const char *name \ |I32 flags Adp |CV * |get_cvn_flags |NN const char *name \ @@ -6152,6 +6150,7 @@ Cp |int |do_spawn |NN char *cmd Cp |int |do_spawn_nowait|NN char *cmd #endif /* defined(VMS) || defined(WIN32) */ #if defined(WIN32) +CRTdp |void * |get_context p |bool |get_win32_message_utf8ness \ |NULLOK const char *string Teor |void |win32_croak_not_implemented \ @@ -6160,6 +6159,7 @@ Teor |void |win32_croak_not_implemented \ p |bool |do_exec3 |NN const char *incmd \ |int fd \ |int do_report +CRTdip |void * |get_context #endif /* !defined(WIN32) */ : ex: set ts=8 sts=4 sw=4 noet: |