forked from enlightenment/efl
parent
b2adf3424b
commit
3018a6a4c4
|
@ -53,8 +53,8 @@ struct _Eo {
|
|||
};
|
||||
|
||||
/* Start of Dich */
|
||||
/* Dich search, split to 0xff 0xff 0xffff */
|
||||
|
||||
/* How we search and store the implementations in classes. */
|
||||
#define DICH_CHAIN_LAST_BITS 5
|
||||
#define DICH_CHAIN_LAST_SIZE (1 << DICH_CHAIN_LAST_BITS)
|
||||
#define DICH_CHAIN1(x) ((x) / DICH_CHAIN_LAST_SIZE)
|
||||
|
@ -70,11 +70,6 @@ struct _Eo {
|
|||
#define EO_ALIGN_SIZE(size) \
|
||||
((size) + (sizeof(void *) - ((size) % sizeof(void *))))
|
||||
|
||||
/* Structure of Eo_Op is:
|
||||
* 16bit: class
|
||||
* 16bit: op.
|
||||
*/
|
||||
|
||||
typedef struct _Dich_Chain1 Dich_Chain1;
|
||||
|
||||
typedef struct
|
||||
|
@ -1476,6 +1471,12 @@ eo_init(void)
|
|||
eina_magic_string_static_set(EO_CLASS_EINA_MAGIC,
|
||||
EO_CLASS_EINA_MAGIC_STR);
|
||||
|
||||
#ifndef NDEBUG
|
||||
/* Call it just for coverage purposes. Ugly I know, but I like it better than
|
||||
* casting everywhere else. */
|
||||
_eo_class_isa_func(NULL, NULL, NULL);
|
||||
#endif
|
||||
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue