commit | eb0bf3ae6688b7e98a706df2ad2714c071d77e22 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Wed Aug 06 15:36:41 2014 -0400 |
committer | Behdad Esfahbod <[email protected]> | Thu Apr 09 19:16:57 2015 -0700 |
tree | 81d0d6e190cf205fd7566236c5925056f942bd2a | |
parent | e8fd83932a75cfbaa4638a757868915ebfac3c1f [diff] |
Relax inert checks Previously, when creating an object from inert inputs (eg: "hb_font_create(hb_face_get_empty())") we returned the inert empty object. This is not helpful as there are legitimate usecases to do that. We now never return the inert object unless allocation failed. Tests are revised to reflect.