summaryrefslogtreecommitdiff
path: root/src/tests/eo/mixin/mixin_mixin.h
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-11-08 10:48:55 +0000
committerTom Hacohen <tom@stosb.com>2014-04-10 04:20:19 +0100
commitf4f62e0f9fe3b799ae95bd500ff2c7c1cd01b249 (patch)
treed88305fd35d0dbb956919a671f20e3efdcf9d8ae /src/tests/eo/mixin/mixin_mixin.h
parente4f0e4c410370e0be068812ebbe0392a9a7aac24 (diff)
eo2: migrated mixin test to eo2.
Diffstat (limited to 'src/tests/eo/mixin/mixin_mixin.h')
-rw-r--r--src/tests/eo/mixin/mixin_mixin.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/tests/eo/mixin/mixin_mixin.h b/src/tests/eo/mixin/mixin_mixin.h
index 745e5c4683..e97b609ab0 100644
--- a/src/tests/eo/mixin/mixin_mixin.h
+++ b/src/tests/eo/mixin/mixin_mixin.h
@@ -1,22 +1,7 @@
1#ifndef MIXIN_H 1#ifndef MIXIN_H
2#define MIXIN_H 2#define MIXIN_H
3 3
4extern EAPI Eo_Op MIXIN_BASE_ID; 4EAPI int mixin_ab_sum_get(void);
5
6enum {
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 5
21#define MIXIN_CLASS mixin_class_get() 6#define MIXIN_CLASS mixin_class_get()
22const Eo_Class *mixin_class_get(void); 7const Eo_Class *mixin_class_get(void);