avidyalalala / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

use macro to define proxy methods #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
#define DEFINE_PROXY_FUNCTION(name) \
static void \
ibus_sunpinyin_engine_##name (IBusEngine *engine) \
{ \
IBusSunPinyinEngine *thiz= (IBusPinyinEngine *) engine; \
thiz->name(); \
parent_class->name (engine); \
}

Original issue reported on code.google.com by find...@gmail.com on 28 Feb 2010 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by tchai...@gmail.com on 1 Mar 2010 at 5:40

GoogleCodeExporter commented 9 years ago

Original comment by tchai...@gmail.com on 2 Mar 2010 at 5:40

GoogleCodeExporter commented 9 years ago

Original comment by tchai...@gmail.com on 15 Mar 2010 at 3:43