Using C++ sizeof to determine the size of the types.
[ozulis.git] / src / ast / sizeof-visitor.hxx
blob3d072a7148536309fb2d1a9102652375fe387175
1 namespace ast
3 inline uint32_t
4 SizeofVisitor::size() const
6 return size_;
9 inline uint32_t
10 SizeofVisitor::pointerSize()
12 /// @todo find a better solution
13 return sizeof (void *);