added return value checking.
Merge branch 'add_throw' of github.com:redboltz/msgpack-c into add_throw