• B
    Add HB_NDEBUG · 91dd1156
    Behdad Esfahbod 提交于
    API changes:
    - If NDEBUG is defined, define HB_NDEBUG
    - Disable costlier sanity checks if HB_NDEBUG is defined.
    
    In 1.2.3 introduced some code to disable costly sanity checks if
    NDEBUG is defined.  NDEBUG, however, disables all assert()s as
    well.  With HB_NDEBUG, one can disable costlier checks but keep
    assert()s.
    
    I'll probably add a way to define HB_NDEBUG automatically in
    release tarballs.  But for now, production systems that do NOT
    define NDEBUG, are encouraged to define HB_NDEBUG for our build.
    91dd1156
hb-buffer.cc 44.2 KB