summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-09-13 13:25:31 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-09-13 13:25:31 +0000
commit26bb67e24a2110ea6ba2dc0af78d8d58df4415a3 (patch)
treef102c485e42dc4d0ce7e56763c9ddd2948eeff23 /perl.h
parent564319723c2c18fa4801cd77e0d203a582b4d5a3 (diff)
downloadperl-26bb67e24a2110ea6ba2dc0af78d8d58df4415a3.tar.gz
Applying change #4136 manually introduced patch residue.
p4raw-link: @4136 on //depot/cfgperl: 564319723c2c18fa4801cd77e0d203a582b4d5a3 p4raw-id: //depot/cfgperl@4137
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/perl.h b/perl.h
index f9242e001f..21b8e66f57 100644
--- a/perl.h
+++ b/perl.h
@@ -1046,16 +1046,16 @@ Free_t Perl_mfree (Malloc_t where);
#define IV_DIG (BIT_DIGITS(IVSIZE * 8))
#define UV_DIG (BIT_DIGITS(IVSIZE * 8))
-+ /*
-+ * The macros INT2PTR and NUM2PTR are (despite their names)
-+ * bi-directional: they will convert int/float to or from pointers.
-+ * However the conversion to int/float are named explicitly:
-+ * PTR2IV, PTR2UV, PTR2NV.
-+ *
-+ * For int conversions we do not need two casts if pointers are
-+ * the same size as IV and UV. Otherwise we need an explicit
-+ * cast (PTRV) to avoid compiler warnings.
-+ */
+/*
+ * The macros INT2PTR and NUM2PTR are (despite their names)
+ * bi-directional: they will convert int/float to or from pointers.
+ * However the conversion to int/float are named explicitly:
+ * PTR2IV, PTR2UV, PTR2NV.
+ *
+ * For int conversions we do not need two casts if pointers are
+ * the same size as IV and UV. Otherwise we need an explicit
+ * cast (PTRV) to avoid compiler warnings.
+ */
#if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
# define PTRV UV
# define INT2PTR(any,d) (any)(d)