eolian: more relaxed safety in types API
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Thu, 19 Nov 2015 15:28:48 +0000 (15:28 +0000)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Thu, 19 Nov 2015 15:29:11 +0000 (15:29 +0000)
commit55be91afc98e717a0410051eb324b0d498595662
tree0eb51079a612e164f7f5afce2d86b7805985efb0
parentb3867ce395f9a65dfebcfe9b05d4c1fe6861d2cf
eolian: more relaxed safety in types API

This changes the checks in eolian type API so that you can use the various
type funcs on incompatible types, getting a NULL in return; this allows
simplified generator logic, with error handling done on generator side,
without getting annoying messages from the Eolian lib.
src/lib/eolian/database_type_api.c