eo2: eo2_do_super should only have one func.
authorTom Hacohen <tom@stosb.com>
Fri, 8 Nov 2013 16:21:01 +0000 (16:21 +0000)
committerTom Hacohen <tom@stosb.com>
Thu, 10 Apr 2014 03:20:19 +0000 (04:20 +0100)
This is a limitation that must be respected as eo2_do_super, unlike
eo2_do can end up with having different next class because of mixins.

src/lib/eo/Eo.h

index f53907d..011ff57 100644 (file)
@@ -738,7 +738,7 @@ EAPI int eo2_call_stack_depth(void);
 
 #define eo2_do(eoid, ...) _eo2_do_common(eoid, NULL, __VA_ARGS__)
 
-#define eo2_do_super(eoid, clsid, ...) _eo2_do_common(eoid, clsid, __VA_ARGS__)
+#define eo2_do_super(eoid, clsid, func) _eo2_do_common(eoid, clsid, func)
 
 /*****************************************************************************/