Change 27461 by [EMAIL PROTECTED] on 2006/03/10 12:57:18

        Teaching embed.pl about conditional symbols is a TODO.

Affected files ...

... //depot/perl/pod/perltodo.pod#133 edit

Differences ...

==== //depot/perl/pod/perltodo.pod#133 (text) ====
Index: perl/pod/perltodo.pod
--- perl/pod/perltodo.pod#132~27406~    2006-03-07 11:31:49.000000000 -0800
+++ perl/pod/perltodo.pod       2006-03-10 04:57:18.000000000 -0800
@@ -155,6 +155,17 @@
 various times worked to cut it down. There is probably still fat to cut out -
 for example POSIX passes Exporter some very memory hungry data structures.
 
+=head2 embed.pl/makedef.pl
+
+There is a script F<embed.pl> that generates several header files to prefix
+all of Perl's symbols in a consistent way, to provide some semblance of
+namespace support in C<C>. Functions are declared in F<embed.fnc>, variables
+in F<interpvar.h> and F<thrdvar.h>. Quite a few of the functions and variables
+are conditionally declared there, using C<#ifdef>. However, F<embed.pl>
+doesn't understand the C macros, so the rules about which symbols are present
+when is duplicated in F<makedef.pl>. Writing things twice is bad, m'kay.
+It would be good to teach C<embed.pl> to understand the conditional
+compilation, and hence remove the duplication, and the mistakes it has caused.
 
 
 
End of Patch.

Reply via email to