mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 12:53:23 +08:00
[0.1.x] added : method type() for typedVar class ( return a typeInfo of the typedVar )
git-svn-id: https://pykd.svn.codeplex.com/svn@76523 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
c7f4c24489
commit
580e4837d5
@ -553,6 +553,8 @@ BOOST_PYTHON_MODULE( pykd )
|
||||
"Retrieves the variable classification of a data: DataIsXxx")
|
||||
.def("deref", &TypedVar::deref,
|
||||
"Return value by pointer" )
|
||||
.def("type", &TypedVar::getType,
|
||||
"Return typeInfo instance" )
|
||||
.def("__getattr__", &TypedVar::getField,
|
||||
"Return field of structure as an object attribute" )
|
||||
.def( "__str__", &TypedVar::print )
|
||||
|
Loading…
Reference in New Issue
Block a user