From 0e4ced382cb959db083cda30b8dbdae68933842a Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Wed, 29 Oct 1997 16:45:26 -0500 Subject: [PATCH] [win32] Another trivial patch: Message-Id: <199710300245.VAA04244@aatma.engin.umich.edu> Subject: [PATCH] Re: Why doesn't XSRETURN have STMT_START/STMT_END brackets? p4raw-id: //depot/win32/perl@310 --- XSUB.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/XSUB.h b/XSUB.h index c7c3f6d..054b4cc 100644 --- a/XSUB.h +++ b/XSUB.h @@ -15,7 +15,11 @@ #define dXSI32 I32 ix = XSANY.any_i32 -#define XSRETURN(off) stack_sp = stack_base + ax + ((off) - 1); return +#define XSRETURN(off) \ + STMT_START { \ + stack_sp = stack_base + ax + ((off) - 1); \ + return; \ + } STMT_END /* Simple macros to put new mortal values onto the stack. */ /* Typically used to return values from XS functions. */ -- 2.7.4