repo.or.cz
/
ozulis.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Using C++ sizeof to determine the size of the types.
[ozulis.git]
/
src
/
ast
/
sizeof-visitor.hxx
blob
3d072a7148536309fb2d1a9102652375fe387175
1
namespace
ast
2
{
3
inline
uint32_t
4
SizeofVisitor
::
size
()
const
5
{
6
return
size_
;
7
}
8
9
inline
uint32_t
10
SizeofVisitor
::
pointerSize
()
11
{
12
/// @todo find a better solution
13
return sizeof
(
void
*);
14
}
15
}