From 7e854ab51982f9e1e5b4e62a39bf9b011f5ae049 Mon Sep 17 00:00:00 2001 From: "SND\\EreTIk_cp" <SND\EreTIk_cp@9b283d60-5439-405e-af05-b73fd8c4d996> Date: Thu, 3 Jul 2014 11:55:22 +0000 Subject: [PATCH] [0.3.x] fixed: name of function pointers [0.3.x] fixed: name of function arrays [0.3.x] added: kdlib test for function names git-svn-id: https://pykd.svn.codeplex.com/svn@88793 9b283d60-5439-405e-af05-b73fd8c4d996 --- test/scripts/typeinfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/scripts/typeinfo.py b/test/scripts/typeinfo.py index d8f9381..d97821e 100644 --- a/test/scripts/typeinfo.py +++ b/test/scripts/typeinfo.py @@ -289,12 +289,12 @@ class TypeInfoTest( unittest.TestCase ): funcptrtype = target.module.typedVar( "CdeclFuncPtr" ).type() self.assertEqual(funcptrtype.name(), "Void(__cdecl*)(Int4B, Float)") - functype = target.module.typedVar( "MethodPtr" ).type().deref() + functype = target.module.typedVar( "MethodPtr" ).type() self.assertEqual(functype.name(), "Void(__thiscall FuncTestClass::*)()") def testFunctionArrName(self): funcptrtype = target.module.typedVar( "ArrayOfCdeclFuncPtr" ).type() self.assertEqual(funcptrtype.name(), "Void(__cdecl*[3])(Int4B, Float)") - functype = target.module.typedVar( "ArrayOfMethodPtr" ).type().deref() + functype = target.module.typedVar( "ArrayOfMethodPtr" ).type() self.assertEqual(functype.name(), "Void(__thiscall FuncTestClass::*[2])()")