[0.3.x] fix: workitem 13815, printing type of variadic function
git-svn-id: https://pykd.svn.codeplex.com/svn@90906 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
ea0781cc4b
commit
ff0d434b29
@ -756,6 +756,8 @@ BOOST_PYTHON_MODULE( pykd )
|
|||||||
.def( "isConstant", TypeInfoAdapter::isConstant,
|
.def( "isConstant", TypeInfoAdapter::isConstant,
|
||||||
"Return flag: type is constant" )
|
"Return flag: type is constant" )
|
||||||
.def( "isVtbl", TypeInfoAdapter::isVtbl,
|
.def( "isVtbl", TypeInfoAdapter::isVtbl,
|
||||||
|
"Return true if no type is specified" )
|
||||||
|
.def( "isNoType", TypeInfoAdapter::isNoType,
|
||||||
"Return true if type is virtual table" )
|
"Return true if type is virtual table" )
|
||||||
.def( "getCallingConvention", TypeInfoAdapter::getCallingConvention,
|
.def( "getCallingConvention", TypeInfoAdapter::getCallingConvention,
|
||||||
"Returns an indicator of a methods calling convention: callingConvention" )
|
"Returns an indicator of a methods calling convention: callingConvention" )
|
||||||
|
@ -194,6 +194,12 @@ struct TypeInfoAdapter : public kdlib::TypeInfo {
|
|||||||
return typeInfo.isVtbl();
|
return typeInfo.isVtbl();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool isNoType(kdlib::TypeInfo &typeInfo)
|
||||||
|
{
|
||||||
|
AutoRestorePyState pystate;
|
||||||
|
return typeInfo.isNoType();
|
||||||
|
}
|
||||||
|
|
||||||
static void appendField( kdlib::TypeInfo &typeInfo, const std::wstring &fieldName, kdlib::TypeInfoPtr &fieldType )
|
static void appendField( kdlib::TypeInfo &typeInfo, const std::wstring &fieldName, kdlib::TypeInfoPtr &fieldType )
|
||||||
{
|
{
|
||||||
AutoRestorePyState pystate;
|
AutoRestorePyState pystate;
|
||||||
|
Loading…
Reference in New Issue
Block a user