From 580e4837d54ec71cf6ed3787be27614f74344838 Mon Sep 17 00:00:00 2001 From: "SND\\kernelnet_cp" Date: Tue, 22 May 2012 13:25:24 +0000 Subject: [PATCH] [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 --- pykd/pymod.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pykd/pymod.cpp b/pykd/pymod.cpp index c92e40a..852528f 100644 --- a/pykd/pymod.cpp +++ b/pykd/pymod.cpp @@ -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 )