[0.1.x] added: conversion for intBase to long and unsigned long

git-svn-id: https://pykd.svn.codeplex.com/svn@75085 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2012-03-27 13:44:06 +00:00 committed by Mikhail I. Izmestev
parent 512131bbdb
commit 3ba32a0b82
2 changed files with 4 additions and 2 deletions

View File

@ -137,6 +137,8 @@ BOOST_PYTHON_MODULE( pykd )
python::implicitly_convertible<intBase,ULONG64>();
python::implicitly_convertible<intBase,LONG64>();
python::implicitly_convertible<intBase,ULONG>();
python::implicitly_convertible<intBase,LONG>();
python::class_<DebugClient, DebugClientPtr>("dbgClient", "Class representing a debugging session", python::no_init )
.def( "addr64", &DebugClient::addr64,

View File

@ -176,7 +176,7 @@ std::string PtrTypedVar::print()
{
std::stringstream sstr;
sstr << m_typeInfo->getName() << " " << m_varData->asString();
sstr << "Ptr " << m_typeInfo->getName() << " " << m_varData->asString();
sstr << " Value: " << printValue();
return sstr.str();