Add SBValue::GetID() member method call API.

llvm-svn: 134636
This commit is contained in:
Johnny Chen 2011-07-07 20:46:23 +00:00
parent 2f2d9cbb22
commit b0b8be755b
2 changed files with 11 additions and 0 deletions

View File

@ -44,6 +44,9 @@ public:
SBError
GetError();
lldb::user_id_t
GetID ();
const char *
GetName();

View File

@ -82,6 +82,14 @@ SBValue::GetError()
return sb_error;
}
user_id_t
SBValue::GetID()
{
if (m_opaque_sp)
return m_opaque_sp->GetID();
return LLDB_INVALID_UID;
}
const char *
SBValue::GetName()
{