Eo: Improved error reporting in data_get.

SVN revision: 70791
This commit is contained in:
Tom Hacohen 2012-05-06 12:03:07 +00:00
parent 5dacee0fea
commit 7faf06dfe2
1 changed files with 4 additions and 0 deletions

View File

@ -1235,6 +1235,10 @@ eo_data_get(const Eo *obj, const Eo_Class *klass)
klass->data_offset;
}
}
else
{
ERR("Tried getting data of class '%s', but it has none..", klass->desc->name);
}
return NULL;
}