From 37a519b2b9e6d87de805b7c3206e6e716e742fba Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 14 Jan 2014 10:14:53 -0700 Subject: perlapi: Tighten strictures against using undocumented things We didn't actually say that undocumented global variables and macros are off-limits. --- autodoc.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autodoc.pl b/autodoc.pl index bd0680380b..2bcf263fc0 100644 --- a/autodoc.pl +++ b/autodoc.pl @@ -371,13 +371,15 @@ This file contains the documentation of the perl public API generated by F, specifically a listing of functions, macros, flags, and variables that may be used by extension writers. L is a list of functions which have yet to be documented. The interfaces of -those are subject to change without notice. Any functions not listed here are +those are subject to change without notice. Anything not listed here is not part of the public API, and should not be used by extension writers at all. For these reasons, blindly using functions listed in proto.h is to be avoided when writing extensions. Note that all Perl API global variables must be referenced with the C -prefix. Some macros are provided for compatibility with the older, +prefix. Again, those not listed here are not to be used by extension writers, +and can be changed or removed without notice; same with macros. +Some macros are provided for compatibility with the older, unadorned names, but this support may be disabled in a future release. Perl was originally written to handle US-ASCII only (that is characters -- cgit v1.2.1