+Mon May 23 22:48:49 IST 2005 Abhijit Menon-Sen <ams@wiw.org>
+
+ Version 2.15
+
+ Minor changes to address a couple of compile problems.
+
Mon Apr 25 07:29:14 IST 2005 Abhijit Menon-Sen <ams@wiw.org>
Version 2.14
#endif
#endif
+#ifndef SvRV_set
+#define SvRV_set(sv, val) \
+ STMT_START { \
+ assert(SvTYPE(sv) >= SVt_RV); \
+ (((XRV*)SvANY(sv))->xrv_rv = (val)); \
+ } STMT_END
+#endif
#ifndef PERL_UNUSED_DECL
# ifdef HASATTRIBUTE
#endif
#ifndef HvRITER_set
-# define HvRITER_set(hv,r) (*HvRITER(hv) = r)
+# define HvRITER_set(hv,r) (HvRITER(hv) = r)
#endif
#ifndef HvEITER_set
-# define HvEITER_set(hv,r) (*HvEITER(hv) = r)
+# define HvEITER_set(hv,r) (HvEITER(hv) = r)
#endif
#ifndef HvRITER_get
*/
for (i = 0; i < len; i++) {
- char *key;
+ char *key = 0;
I32 len;
unsigned char flags;
#ifdef HV_ITERNEXT_WANTPLACEHOLDERS
failure, whereas the existing code assumes that it can
safely store a tag zero. So for ptr_tables we store tag+1
*/
- if (fake_tag = ptr_table_fetch(cxt->pseen, xsv))
+ if ((fake_tag = ptr_table_fetch(cxt->pseen, xsv)))
goto sv_seen; /* Avoid moving code too far to the right */
#else
if ((svh = hv_fetch(cxt->hseen, (char *) &xsv, sizeof(xsv), FALSE)))