summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-25 18:27:19 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-25 18:27:19 +0000
commit2554589c31907b9180ed71e0f68af5a4f1febd98 (patch)
treebb4fa3860e80e16772574b8d7fab89f8bfe004c5 /XSUB.h
parent180c74307d134e5058752c6d66b9fa238ddb3448 (diff)
downloadperl-2554589c31907b9180ed71e0f68af5a4f1febd98.tar.gz
Tweak the XSFUNCTION, from Doug MacEachern, as suggested
by Ilya Zakharevich in http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-05/msg01582.html p4raw-id: //depot/perl@10934
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/XSUB.h b/XSUB.h
index 87a05d0a6a..23f292bd0a 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -90,7 +90,7 @@ handled automatically by C<xsubpp>.
# define XSINTERFACE_CVT(ret,name) ret (*name)()
#endif
#define dXSFUNCTION(ret) XSINTERFACE_CVT(ret,XSFUNCTION)
-#define XSINTERFACE_FUNC(ret,cv,f) ((XSINTERFACE_CVT(ret,cv))(f))
+#define XSINTERFACE_FUNC(ret,cv,f) ((XSINTERFACE_CVT(ret,))(f))
#define XSINTERFACE_FUNC_SET(cv,f) \
CvXSUBANY(cv).any_dptr = (void (*) (pTHXo_ void*))(f)