Permalink
Browse files

When CvISXSUB() is not present, one should check CvXSUB() directly

  • Loading branch information...
vpit authored and ashb committed Sep 9, 2009
1 parent 65062e2 commit 658f7bb5bf2d934ecefa4e5ee43dd9e57fbf512c
Showing with 4 additions and 0 deletions.
  1. +4 −0 TryCatch.xs
View
@@ -7,6 +7,10 @@
#include "hook_op_check.h"
#include "hook_op_ppaddr.h"
+#ifndef CvISXSUB
+# define CvISXSUB(cv) CvXSUB(cv)
+#endif
+
static int trycatch_debug = 0;
STATIC I32

0 comments on commit 658f7bb

Please sign in to comment.