more eo simplified to use Eina_Slice instead of pointer to.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Mon, 19 Dec 2016 17:27:34 +0000 (15:27 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Mon, 19 Dec 2016 17:30:56 +0000 (15:30 -0200)
commitdd5cdda64b5fd3966718af62d417117942e2f323
tree28e5ff6f8b5f4fc76fcefce709790b4a91def65b
parent25a9e1d886054d3907fb43e3682525b1a3901209
more eo simplified to use Eina_Slice instead of pointer to.

Working directly with Eina_Slice is easier than a pointer to it,
requires no validation of the pointers and is cheap since it's just
putting together size_t + void*.

However we can't hint the user of 'const(Eina.Slice)' properties as
Eolian is incorrectly generating getters as:

   const Eina_Slice class_property_get(...)

which is makes compilers complain about ignored qualifiers:

   ../src/lib/ecore/efl_io_copier.eo.h:329:7: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]

Leave some TODO so @q66 can fix those.
14 files changed:
src/examples/ecore/efl_io_buffered_stream_example.c
src/examples/ecore/efl_io_copier_example.c
src/examples/ecore/efl_io_queue_example.c
src/examples/ecore/efl_net_control_example.c
src/examples/ecore/efl_net_dialer_simple_example.c
src/examples/ecore/efl_net_ip_address_example.c
src/lib/ecore/efl_io_buffered_stream.c
src/lib/ecore/efl_io_buffered_stream.eo
src/lib/ecore/efl_io_copier.c
src/lib/ecore/efl_io_copier.eo
src/lib/ecore_con/efl_net_dialer_simple.c
src/lib/ecore_con/efl_net_ip_address.c
src/lib/ecore_con/efl_net_ip_address.eo
src/tests/ecore_con/ecore_con_test_efl_net_ip_address.c