Eo: Migrate to the new syntax (Eo 4).
authorTom Hacohen <tom@stosb.com>
Mon, 9 Nov 2015 11:45:04 +0000 (11:45 +0000)
committerTom Hacohen <tom@stosb.com>
Thu, 3 Mar 2016 09:53:23 +0000 (09:53 +0000)
commitfc88037977dcc39dfd6d817c522cce01f5bfa024
treec5ed3292e2d137c63e37adbd47af8289d0a67980
parenta6347f88fd60550c871b1505dbff63c3509f651c
Eo: Migrate to the new syntax (Eo 4).

The syntax is described in: https://phab.enlightenment.org/w/eo/

Summary:
eo_do(obj, a_set(1)) -> a_set(obj, 1)
eo_do_super(obj, CLASS, a_set(1)) -> a_set(eo_super(obj, CLASS), 1)

eo_do_*_ret() set of functions are no longer needed.

This is the first step, the next step would be to also fix up eo_add()
which currently still uses the old syntax and is not 100% portable.

@feature
src/lib/eo/Eo.h
src/lib/eo/eo.c
src/lib/eo/eo_private.h
src/lib/eo/eo_ptr_indirection.x