From 47b63d0a1bb1ccce7e7283f5513886a656ee4ed7 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 1 May 2015 15:47:35 +0100 Subject: [PATCH] Eo base: Fix eo_constructor's declaration. Remove it from the constructors section. This was wrong. This place is for functions that are allowed to be passed to eo_add() and should be used by bindings to create constructors. This is wrong for both cases, as this should always be called, not optional. Also remove the redundant legacy: null. --- src/lib/eo/eo_base.eo | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo index 2098c4a1fa..88b917aa9d 100644 --- a/src/lib/eo/eo_base.eo +++ b/src/lib/eo/eo_base.eo @@ -47,7 +47,6 @@ Return event freeze count. */ constructor { /*@ Call the object's constructor. Should not be used with #eo_do. Only use it with #eo_do_super. */ - legacy: null; } event_callback_forwarder_del { /*@ Remove an event callback forwarder for an event and an object. */ @@ -220,9 +219,6 @@ callbacks of the same priority are called in reverse order of creation. */ class.constructor; class.destructor; } - constructors { - .constructor; - } events { callback,add; /*@ A callback was added. */ callback,del; /*@ A callback was deleted. */ -- 2.34.1