2012-04-05 08:31:15 -07:00
|
|
|
#ifndef MIXIN_H
|
|
|
|
#define MIXIN_H
|
|
|
|
|
2012-05-01 00:40:14 -07:00
|
|
|
extern EAPI Eo_Op MIXIN_BASE_ID;
|
2012-04-05 08:31:15 -07:00
|
|
|
|
|
|
|
enum {
|
2012-04-19 01:52:11 -07:00
|
|
|
MIXIN_SUB_ID_AB_SUM_GET,
|
2012-04-05 08:31:15 -07:00
|
|
|
MIXIN_SUB_ID_LAST
|
|
|
|
};
|
|
|
|
|
|
|
|
#define MIXIN_ID(sub_id) (MIXIN_BASE_ID + sub_id)
|
|
|
|
|
2012-04-23 05:32:34 -07:00
|
|
|
|
|
|
|
/**
|
2012-04-24 01:56:49 -07:00
|
|
|
* @def mixin_ab_sum_get(sum)
|
2012-04-23 05:32:34 -07:00
|
|
|
* @brief Get sum of a,b integer elements
|
|
|
|
* @param[out] sum integer pointer to sum - value
|
|
|
|
*/
|
2012-05-01 00:40:14 -07:00
|
|
|
#define mixin_ab_sum_get(sum) MIXIN_ID(MIXIN_SUB_ID_AB_SUM_GET), EO_TYPECHECK(int *, sum)
|
2012-04-05 08:31:15 -07:00
|
|
|
|
|
|
|
#define MIXIN_CLASS mixin_class_get()
|
2012-06-10 07:56:15 -07:00
|
|
|
const Eo_Class *mixin_class_get(void);
|
2012-04-05 08:31:15 -07:00
|
|
|
|
|
|
|
#endif
|