Eo: Fix parameter checking of eo_do_super.
authorTom Hacohen <tom@stosb.com>
Tue, 8 May 2012 06:56:55 +0000 (06:56 +0000)
committerTom Hacohen <tom@stosb.com>
Tue, 8 May 2012 06:56:55 +0000 (06:56 +0000)
SVN revision: 70865

legacy/eobj/lib/Eo.h

index 32047f9..324a5c6 100644 (file)
@@ -450,10 +450,10 @@ EAPI Eina_Bool eo_do_internal(Eo *obj, Eina_Bool constant, ...);
  *
  * Unlike eo_do() and eo_query(), this function only accepts one op.
  *
- * @see #eo_query
+ * @see #eo_do
  * @see eo_query_super()
  */
-#define eo_do_super(obj, ...) eo_do_super_internal((Eo *) EO_TYPECHECK(const Eo *, obj), EINA_FALSE, __VA_ARGS__)
+#define eo_do_super(obj, ...) eo_do_super_internal(obj, EINA_FALSE, __VA_ARGS__)
 
 /**
  * @brief Calls the super function for the specific op.