[0.3.x] reworked : support kdlibcpp changes

git-svn-id: https://pykd.svn.codeplex.com/svn@91072 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\ussrhero_cp 2016-12-03 10:05:19 +00:00 committed by Mikhail I. Izmestev
parent 85a36df11e
commit be9f1420ec
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
#define PYKD_VERSION_MAJOR 0 #define PYKD_VERSION_MAJOR 0
#define PYKD_VERSION_MINOR 3 #define PYKD_VERSION_MINOR 3
#define PYKD_VERSION_SUBVERSION 1 #define PYKD_VERSION_SUBVERSION 1
#define PYKD_VERSION_BUILDNO 7 #define PYKD_VERSION_BUILDNO 8
#define __VER_STR2__(x) #x #define __VER_STR2__(x) #x
#define __VER_STR1__(x) __VER_STR2__(x) #define __VER_STR1__(x) __VER_STR2__(x)

View File

@ -144,7 +144,7 @@ python::object callTypedVar(kdlib::TypedVarPtr& funcobj, python::tuple& args)
if ( argCount != funcobj->getType()->getElementCount() ) if ( argCount != funcobj->getType()->getElementCount() )
throw kdlib::TypeException(L"wrong argument count"); throw kdlib::TypeException(L"wrong argument count");
kdlib::CallArgList argLst; kdlib::TypedValueList argLst;
for ( size_t i = 0; i < argCount; ++i ) 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" ) else if ( argType->getName() == L"Int1B" )
{ {
argLst.push_back( var.asChar() ); argLst.push_back( var.asChar() );
} }
else if ( argType->getName() == L"UInt1B" ) else if ( argType->getName() == L"UInt1B" )
{ {
argLst.push_back( var.asUChar() ); argLst.push_back( var.asUChar() );