1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-29 11:24:19 +01:00

Removed forgotten debug printfs/int$3

--HG--
branch : hookman_autogen
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/hookman_autogen%40551
This commit is contained in:
Pavol Marko 2007-11-09 06:23:08 +00:00
parent 3f34d0aca9
commit 50b2b0541a
2 changed files with 1 additions and 6 deletions

View File

@ -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;
}
}

View File

@ -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;