32
32
* but XS code may still explicitly use the long form, i.e.
33
33
* Perl_foo(aTHX_ ...)
34
34
*
35
+ * NOTE: ALL FUNCTIONS IN THIS FILE should have an entry with the 'b' flag in
36
+ * embed.fnc.
37
+ *
38
+ * To move a function to this file, simply cut and paste it here, and change
39
+ * its embed.fnc entry to additionally have the 'b' flag. If, for some reason
40
+ * a function you'd like to be treated as mathoms can't be moved from its
41
+ * current place, simply enclose it between
42
+ *
43
+ * #ifndef NO_MATHOMS
44
+ * ...
45
+ * #endif
46
+ *
47
+ * and add the 'b' flag in embed.fnc.
48
+ *
35
49
* REMEMBER to update makedef.pl when adding a function to mathoms.c whose
36
50
* name doesn't begin with "Perl_".
37
51
*
38
- * SMP - Oct. 24, 2005
39
- *
40
52
* The compilation of this file can be suppressed; see INSTALL
41
53
*
54
+ * Some blurb for perlapi.pod:
55
+
42
56
=head1 Obsolete backwards compatibility functions
57
+
43
58
Some of these are also deprecated. You can exclude these from
44
59
your compiled Perl by adding this option to Configure:
45
60
C<-Accflags='-DNO_MATHOMS'>
@@ -59,22 +74,6 @@ C<-Accflags='-DNO_MATHOMS'>
59
74
*/
60
75
#else
61
76
62
- /* NOTE ALL FUNCTIONS IN THIS FILE should have an entry with the 'b' flag in
63
- * embed.fnc.
64
- *
65
- * To move a function to this file, simply cut and paste it here, and change
66
- * its embed.fnc entry to additionally have the 'b' flag. If, for some reason
67
- * a function you'd like to be treated as mathoms can't be moved from its
68
- * current place, simply enclose it between
69
- *
70
- * #ifndef NO_MATHOMS
71
- * ...
72
- * #endif
73
- *
74
- * and add the 'b' flag in embed.fnc.
75
- *
76
- * */
77
-
78
77
/* ref() is now a macro using Perl_doref;
79
78
* this version provided for binary compatibility only.
80
79
*/
0 commit comments