ector: remove offset from Ector.Buffer.{map,unmap}
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 9 Dec 2015 10:00:54 +0000 (19:00 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 5 Jan 2016 06:43:43 +0000 (15:43 +0900)
commit952f27507d6c2a968dfdb67c259ba95a1bdc8a0c
tree453e66b9d34b4002dd128f5b53f6b07ae17aaa6c
parent34a892dbab13b14bd01ac30474a30f230c6b135d
ector: remove offset from Ector.Buffer.{map,unmap}

It just makes things a bit more complicated and doesn't correspond
to a classic "map" operation anyways.

Also return void* instead of uint8_t*. This is more correct and
avoid extra casts.
src/lib/ector/ector_generic_buffer.eo
src/lib/ector/software/ector_software_buffer.c