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.
This commit is contained in:
Tom Hacohen 2015-05-01 15:47:35 +01:00
parent c3c12ab4ad
commit 47b63d0a1b
1 changed files with 0 additions and 4 deletions

View File

@ -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. */