The idea here is that: - Like pretty much all other API in harfbuzz, user does not have to check for NULL. - In any caller code, the case of missing table should be handled exactly the same way that a too-short table is handled. Turning a non-existent talbe into a table of size 0 makes the user code safer.pull/1/head
parent
c035812feb
commit
9417c1c0d2
2 changed files with 2 additions and 3 deletions
Loading…
Reference in new issue