2014-11-11 07:03:59 -08:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include <config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <Eo.h>
|
|
|
|
#include <Ecore.h>
|
|
|
|
|
2016-06-05 22:54:36 -07:00
|
|
|
#include <a.eo.hh>
|
2014-11-11 07:03:59 -08:00
|
|
|
|
2016-02-04 06:10:11 -08:00
|
|
|
#include "eolian_cxx_suite.h"
|
2014-11-11 07:03:59 -08:00
|
|
|
|
2018-06-22 09:43:47 -07:00
|
|
|
EFL_START_TEST(eolian_cxx_test_wrapper_size)
|
2014-11-11 07:03:59 -08:00
|
|
|
{
|
|
|
|
efl::eo::eo_init init;
|
|
|
|
|
2014-12-17 05:47:19 -08:00
|
|
|
::efl::eo::concrete b(nullptr);
|
2016-06-05 22:54:36 -07:00
|
|
|
::nonamespace::A c;
|
2014-11-11 07:03:59 -08:00
|
|
|
|
|
|
|
fail_if(sizeof(b) != sizeof(Eo*));
|
|
|
|
fail_if(sizeof(b) != sizeof(c));
|
|
|
|
}
|
2018-06-22 09:43:47 -07:00
|
|
|
EFL_END_TEST
|
2014-11-11 07:03:59 -08:00
|
|
|
|
|
|
|
void
|
|
|
|
eolian_cxx_test_wrapper(TCase* tc)
|
|
|
|
{
|
|
|
|
tcase_add_test(tc, eolian_cxx_test_wrapper_size);
|
|
|
|
}
|