blob: 1188a606946e0c2189b4cd4cb8e5c7263421b235 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "Eo.h"
#include "access_simple.h"
#include "access_inherit.h"
int
main(int argc, char *argv[])
{
(void) argc;
(void) argv;
efl_object_init();
Eo *obj = efl_add(INHERIT_CLASS, NULL);
simple_a_set(obj, 1);
inherit_prot_print(obj);
Simple_Public_Data *pd = efl_data_scope_get(obj, SIMPLE_CLASS);
printf("Pub: %d\n", pd->public_x2);
efl_unref(obj);
efl_object_shutdown();
return 0;
}
|