Esempio n. 1
0
long long cursor::type::offset_of(const char* s)
{
    return clang_Type_getOffsetOf(ctype, s);
}
Esempio n. 2
0
 size_t Type::GetOffsetOf(const std::string& fieldName) const
 {
     return clang_Type_getOffsetOf(type_, fieldName.c_str());
 }