summaryrefslogtreecommitdiff
path: root/pp_pack.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-05-03 17:06:01 +0200
committerNicholas Clark <nick@ccl4.org>2013-05-20 21:19:42 +0200
commitfcdf154797de71462d8c8f5606482a86ed73943a (patch)
tree64642579320b75c956872a5943369d83c92188a1 /pp_pack.c
parentf8e5a5db38586c726249f161f1fbb581d1738ca2 (diff)
downloadperl-fcdf154797de71462d8c8f5606482a86ed73943a.tar.gz
Eliminate the definitions for DO_BO_PACK_P and DO_BO_UNPACK_P.
Commit 07409e015252427f in April 2005 replaced all the uses of these two macros with DO_BO_PACK_PC and DO_BO_UNPACK_PC.
Diffstat (limited to 'pp_pack.c')
-rw-r--r--pp_pack.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/pp_pack.c b/pp_pack.c
index fe81ca716d..e9969d51d3 100644
--- a/pp_pack.c
+++ b/pp_pack.c
@@ -300,30 +300,20 @@ S_mul128(pTHX_ SV *sv, U8 m)
} STMT_END
# if PTRSIZE == INTSIZE
-# define DO_BO_UNPACK_P(var) DO_BO_UNPACK_PTR(var, i, int, void)
-# define DO_BO_PACK_P(var) DO_BO_PACK_PTR(var, i, int, void)
# define DO_BO_UNPACK_PC(var) DO_BO_UNPACK_PTR(var, i, int, char)
# define DO_BO_PACK_PC(var) DO_BO_PACK_PTR(var, i, int, char)
# elif PTRSIZE == LONGSIZE
# if LONGSIZE < IVSIZE && IVSIZE == 8
-# define DO_BO_UNPACK_P(var) DO_BO_UNPACK_PTR(var, 64, IV, void)
-# define DO_BO_PACK_P(var) DO_BO_PACK_PTR(var, 64, IV, void)
# define DO_BO_UNPACK_PC(var) DO_BO_UNPACK_PTR(var, 64, IV, char)
# define DO_BO_PACK_PC(var) DO_BO_PACK_PTR(var, 64, IV, char)
# else
-# define DO_BO_UNPACK_P(var) DO_BO_UNPACK_PTR(var, l, IV, void)
-# define DO_BO_PACK_P(var) DO_BO_PACK_PTR(var, l, IV, void)
# define DO_BO_UNPACK_PC(var) DO_BO_UNPACK_PTR(var, l, IV, char)
# define DO_BO_PACK_PC(var) DO_BO_PACK_PTR(var, l, IV, char)
# endif
# elif PTRSIZE == IVSIZE
-# define DO_BO_UNPACK_P(var) DO_BO_UNPACK_PTR(var, l, IV, void)
-# define DO_BO_PACK_P(var) DO_BO_PACK_PTR(var, l, IV, void)
# define DO_BO_UNPACK_PC(var) DO_BO_UNPACK_PTR(var, l, IV, char)
# define DO_BO_PACK_PC(var) DO_BO_PACK_PTR(var, l, IV, char)
# else
-# define DO_BO_UNPACK_P(var) BO_CANT_DOIT(unpack, pointer)
-# define DO_BO_PACK_P(var) BO_CANT_DOIT(pack, pointer)
# define DO_BO_UNPACK_PC(var) BO_CANT_DOIT(unpack, pointer)
# define DO_BO_PACK_PC(var) BO_CANT_DOIT(pack, pointer)
# endif