From 50b2b0541a8a183daac040d6b61061387029b62b Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Fri, 9 Nov 2007 06:23:08 +0000 Subject: [PATCH] Removed forgotten debug printfs/int$3 --HG-- branch : hookman_autogen extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40551 --- sourcehook/sourcehook_hookmangen.cpp | 6 +----- sourcehook/test/testhookmangen.cpp | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/sourcehook/sourcehook_hookmangen.cpp b/sourcehook/sourcehook_hookmangen.cpp index d528752..1619e53 100644 --- a/sourcehook/sourcehook_hookmangen.cpp +++ b/sourcehook/sourcehook_hookmangen.cpp @@ -1507,11 +1507,11 @@ namespace SourceHook bool GenContext::PassInfoSupported(const IntPassInfo &pi, bool is_ret) { + // :TODO: Error returns if (pi.type != PassInfo::PassType_Basic && pi.type != PassInfo::PassType_Float && pi.type != PassInfo::PassType_Object) { - printf("A\n"); return false; } @@ -1520,25 +1520,21 @@ namespace SourceHook { if ((pi.flags & PassInfo::PassFlag_CCtor) && !pi.pCopyCtor) { - printf("B\n"); return false; } if ((pi.flags & PassInfo::PassFlag_ODtor) && !pi.pDtor) { - printf("C\n"); return false; } if ((pi.flags & PassInfo::PassFlag_AssignOp) && !pi.pAssignOperator) { - printf("D\n"); return false; } if ((pi.flags & PassInfo::PassFlag_OCtor) && !pi.pNormalCtor) { - printf("D\n"); return false; } } diff --git a/sourcehook/test/testhookmangen.cpp b/sourcehook/test/testhookmangen.cpp index 858f526..a238e5d 100644 --- a/sourcehook/test/testhookmangen.cpp +++ b/sourcehook/test/testhookmangen.cpp @@ -640,7 +640,6 @@ bool TestHookManGen(std::string &error) /* no hooks - no hooks */ PtrBuf_Clear(); - asm("int $3"); obj13 = pTest110->Func(5); g_Inside_LeafFunc = true;