Eina model: Made _method_resolve a macro to remove the need for offsetof.
authorTom Hacohen <tom@stosb.com>
Wed, 8 Feb 2012 15:37:07 +0000 (15:37 +0000)
committerTom Hacohen <tom@stosb.com>
Wed, 8 Feb 2012 15:37:07 +0000 (15:37 +0000)
commit1dbab17f6402041c75141ebcbeea07049fbe518d
tree9f6a96ca2deb5e4eaeb1cd3795879404caae03a2
parent68d5bb81bc985a820cae8c9d71ed33a236c2fafe
Eina model: Made _method_resolve a macro to remove the need for offsetof.

This will also hopefully remove the likelihood for hacks.
Previous functions are still available as method_offset_resolve.

SVN revision: 67765
legacy/eina/src/include/eina_model.h
legacy/eina/src/lib/eina_model.c