From be9f1420ec6c510deae4444e8811ac91e5ce179e Mon Sep 17 00:00:00 2001 From: "SND\\ussrhero_cp" Date: Sat, 3 Dec 2016 10:05:19 +0000 Subject: [PATCH] [0.3.x] reworked : support kdlibcpp changes git-svn-id: https://pykd.svn.codeplex.com/svn@91072 9b283d60-5439-405e-af05-b73fd8c4d996 --- pykd/pykdver.h | 2 +- pykd/pytypeinfo.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pykd/pykdver.h b/pykd/pykdver.h index 456d770..97d8be2 100644 --- a/pykd/pykdver.h +++ b/pykd/pykdver.h @@ -2,7 +2,7 @@ #define PYKD_VERSION_MAJOR 0 #define PYKD_VERSION_MINOR 3 #define PYKD_VERSION_SUBVERSION 1 -#define PYKD_VERSION_BUILDNO 7 +#define PYKD_VERSION_BUILDNO 8 #define __VER_STR2__(x) #x #define __VER_STR1__(x) __VER_STR2__(x) diff --git a/pykd/pytypeinfo.cpp b/pykd/pytypeinfo.cpp index 45398f3..8ea60c9 100644 --- a/pykd/pytypeinfo.cpp +++ b/pykd/pytypeinfo.cpp @@ -144,7 +144,7 @@ python::object callTypedVar(kdlib::TypedVarPtr& funcobj, python::tuple& args) if ( argCount != funcobj->getType()->getElementCount() ) throw kdlib::TypeException(L"wrong argument count"); - kdlib::CallArgList argLst; + kdlib::TypedValueList argLst; for ( size_t i = 0; i < argCount; ++i ) { @@ -167,7 +167,7 @@ python::object callTypedVar(kdlib::TypedVarPtr& funcobj, python::tuple& args) else if ( argType->getName() == L"Int1B" ) { argLst.push_back( var.asChar() ); - } + } else if ( argType->getName() == L"UInt1B" ) { argLst.push_back( var.asUChar() );