diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-07-18 19:32:50 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-08-22 20:49:37 +0100 |
commit | c8e503bfe4136506c95da755e0400990f539bb6a (patch) | |
tree | 24f9c95d2abb099c5cb955062e9bd4c9f6b342cb /av.h | |
parent | 828dad175cf45f4e83d61df735a510f0314063c8 (diff) | |
download | perl-c8e503bfe4136506c95da755e0400990f539bb6a.tar.gz |
Eliminate *_ALLOCATED_HEAD and *_HEAD macros which are now used only once.
Diffstat (limited to 'av.h')
-rw-r--r-- | av.h | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -8,22 +8,13 @@ * */ -#define _XPVAV_ALLOCATED_HEAD \ - SSize_t xav_fill; /* Index of last element present */ \ - SSize_t xav_max /* max index for which array has space */ - -#define _XPVAV_HEAD \ - union _xnvu xnv_u; \ - _XPVAV_ALLOCATED_HEAD - struct xpvav { - _XPVAV_HEAD; + union _xnvu xnv_u; + SSize_t xav_fill; /* Index of last element present */ + SSize_t xav_max; /* max index for which array has space */ _XPVMG_HEAD; }; -#undef _XPVAV_ALLOCATED_HEAD -#undef _XPVAV_HEAD - /* SV** xav_alloc; */ #define xav_alloc xiv_u.xivu_p1 /* SV* xav_arylen; */ |