eo: Don't resolve function calls for NULL objects
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 12 Jul 2017 01:43:07 +0000 (10:43 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 12 Jul 2017 02:20:59 +0000 (11:20 +0900)
commit40029ce70a7b57352e7070825bf8b15490f2d2e8
treefbe770efc48a94ce6ced5ed8088a9b8f843dd2f1
parentb156f606e4fefb9b1d3ac0ca6d180e0d70e0140c
eo: Don't resolve function calls for NULL objects

eo_function(NULL) always leads to a no-operation. A this
point it is basically considered the normal operation
with EO to just silently ignore NULL errors.

If the API function "eo_function" belongs to a class that
has not been loaded yet (eg. no object of this type has
been created yet), then the op associated to the API func
may not be defined yet.

Fixes T5715
src/lib/eo/eo.c