diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2023-01-28 14:34:52 +0000 |
---|---|---|
committer | Paul Evans <leonerd@leonerd.org.uk> | 2023-01-28 16:57:35 +0000 |
commit | 4f4dc62d1459c2cff4a78da09c980fd7cc8dfc18 (patch) | |
tree | 66bdcc28b9ab9e9dfeecb50986d82f9f72850fb3 /embed.fnc | |
parent | 8cb94cf6eb83ea14ef27697517f7e92842876536 (diff) | |
download | perl-4f4dc62d1459c2cff4a78da09c980fd7cc8dfc18.tar.gz |
Make the new optree function declarations conditional on PERL_CORE|PERL_USE_VOLATILE_API
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1802,8 +1802,6 @@ Axmd |OP * |op_lvalue |NULLOK OP *o \ poX |OP * |op_lvalue_flags|NULLOK OP *o \ |I32 type \ |U32 flags -Apd |void |optimize_optree|NN OP *o -Apd |void |finalize_optree|NN OP *o : Used in op.c and pp_sys.c p |int |mode_from_discipline \ |NULLOK const char *s \ @@ -3900,6 +3898,10 @@ EeiT |void * |my_memrchr |NN const char *s \ |const STRLEN len # endif /* !defined(HAS_MEMRCHR) */ #endif /* defined(PERL_CORE) || defined(PERL_EXT) */ +#if defined(PERL_CORE) || defined(PERL_USE_VOLATILE_API) +Apd |void |optimize_optree|NN OP *o +Apd |void |finalize_optree|NN OP *o +#endif /* defined(PERL_CORE) || defined(PERL_USE_VOLATILE_API) */ #if defined(PERL_DEBUG_READONLY_COW) p |void |sv_buf_to_ro |NN SV *sv #endif /* defined(PERL_DEBUG_READONLY_COW) */ |