Eo: add autotools tests. I have plenty of errors with the unit tests on Windows
[profile/ivi/eobj.git] / src / tests / mixin / mixin.h
1 #ifndef MIXIN_H
2 #define MIXIN_H
3
4 extern EAPI Eo_Op MIXIN_BASE_ID;
5
6 enum {
7      MIXIN_SUB_ID_AB_SUM_GET,
8      MIXIN_SUB_ID_LAST
9 };
10
11 #define MIXIN_ID(sub_id) (MIXIN_BASE_ID + sub_id)
12
13
14 /**
15  * @def mixin_ab_sum_get(sum)
16  * @brief Get sum of a,b integer elements
17  * @param[out] sum integer pointer to sum - value
18  */
19 #define mixin_ab_sum_get(sum) MIXIN_ID(MIXIN_SUB_ID_AB_SUM_GET), EO_TYPECHECK(int *, sum)
20
21 #define MIXIN_CLASS mixin_class_get()
22 const Eo_Class *mixin_class_get(void);
23
24 #endif