Commit ffc042fa3a for perl
commit ffc042fa3a472ee71d9c343cf0bcfe7c03e3bba9
Author: Paul Evans <leonerd@leonerd.org.uk>
Date: Fri Oct 30 16:03:55 2026 +0000
embed.fnc: Mark newMYSUB as full API
Give it the full `A` API flag, rather than the `C` flag. This has the
effect of putting its documentation in `perlapi.pod` rather than
`perlintern.pod`, and suggests to authors that this function is part of
the official API.
I suspect it was left as `C` flag previously while lexical subs were
considered experimental, having been added in 5.18, and nobody has
updated it since.
diff --git a/embed.fnc b/embed.fnc
index 2a5b4233ac..5c2bc6cc67 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2538,7 +2538,7 @@ ARdp |OP * |newMETHOP |I32 type \
ARdp |OP * |newMETHOP_named|I32 type \
|I32 flags \
|NN SV * const_meth
-Cdp |CV * |newMYSUB |I32 floor \
+Adp |CV * |newMYSUB |I32 floor \
|NN OP *o \
|NULLOK OP *proto \
|NULLOK OP *attrs \