From 6a2657ff6caa3d4c1498ec07baaa0eba58ab5d18 Mon Sep 17 00:00:00 2001 From: theraven Date: Sun, 20 Mar 2011 22:29:08 +0000 Subject: [PATCH] Comment out a function that's only used for debugging. Not removed, because I'll probably break things and need it again... --- objcxx_eh.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/objcxx_eh.cc b/objcxx_eh.cc index 4790a02..b50da84 100644 --- a/objcxx_eh.cc +++ b/objcxx_eh.cc @@ -169,6 +169,7 @@ void* objc_object_for_cxx_exception(void *thrown_exception) return *(id*)(ex+1); } +/* void print_type_info(void *thrown_exception) { __cxa_exception *ex = (__cxa_exception*) ((char*)thrown_exception - @@ -176,6 +177,7 @@ void print_type_info(void *thrown_exception) fprintf(stderr, "Type info: %s\n", ex->exceptionType->name()); fprintf(stderr, "offset is: %d\n", offsetof(struct __cxa_exception, unwindHeader)); } +*/ } // extern "C"