From d212d2222867b5b63a5f6d8c3243d0d45a26988c Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 16 Jul 2013 12:41:45 -0600 Subject: [PATCH] embed.fnc: Clarify comments on E,X flag usage; nit --- embed.fnc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/embed.fnc b/embed.fnc index 778edd6..bd78b71 100644 --- a/embed.fnc +++ b/embed.fnc @@ -16,7 +16,7 @@ : any doc entry goes in perlapi.pod rather than perlintern.pod. If no : documentation is furnished for this function, and M is also : specified, the function is not listed as part of the public API. -: If M isn't specified and no documentation is furnished, the +: If M isn't specified, and no documentation is furnished, the : function is listed in perlapi as existing and being undocumented : makes '#define foo Perl_foo' scope not just for PERL_CORE/PERL_EXT : @@ -48,8 +48,9 @@ : in embed.h, change "#ifdef PERL_CORE" : into "#if defined(PERL_CORE) || defined(PERL_EXT)" : -: Should always be combined with "X" to be usable from dynamically -: loaded extensions. +: To be usable from dynamically loaded extensions, either: +: 1) must be static to its containing file ("i" or "s" flag); or +: 2) be combined with the "X" flag. : : f Function takes printf style format string, varargs (hence any entry that : would otherwise go in embed.h is suppressed): -- 1.8.3.1