summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2014-11-11 13:03:59 -0200
committerVitor Sousa <vitorsousasilva@gmail.com>2015-01-05 15:52:27 -0200
commited8ce801cb56644c12b395797c3f9e22a508811f (patch)
treec45260a52076155c2698b59afe3bb3625d1ffa12 /src/examples/eolian_cxx
parent1cbbb9a577eb2dbbfebb441702635b2245840d1c (diff)
eolian_cxx: Assertions to ensure C++ wrapper compatibility with Eo*
Added static assertion in the generated header to ensure that the wrapper have the same size of Eo*, thus grating compatibility between these types. Added static assertion in the generated header to ensure that the wrapper have standard layout. This should ensure correct type sizes when dealing with inheritance. Created a test to ensure that eo::base and the eolian wrappers have the same size of a Eo*. Added eolian_cxx_test_wrapper.cc to the list of test source files in Makefile_Eolian_Cxx.am.
Diffstat (limited to 'src/examples/eolian_cxx')
0 files changed, 0 insertions, 0 deletions