<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Added a command to grab the the size, and the proper hooks to access it  within python bindings.</span><div><font face="arial, sans-serif"><br clear="all">

</font><div><span style="font-family:arial,sans-serif;font-size:13px">    Functions, and void types returned 0 in size</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">    long long clang_getTypeSize(CXType CT ) {</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">      CXTranslationUnit TU = GetTU(CT);</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">      ASTUnit *AU = clang::cxtu::getASTUnit(TU);</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">      const ASTContext &AC = AU->getASTContext();</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">      QualType T = GetQualType(CT);</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">      return AC.getTypeSize(T);</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">    }</span><br style="font-family:arial,sans-serif;font-size:13px">

<span style="font-family:arial,sans-serif;font-size:13px">    </span><br></div>-- <br>Thank you,<br><br>Sam Price<br>(707) 742-3726
</div></div>