apiaryio / drafter

API Blueprint Parser (C++)
https://apiblueprint.org/
MIT License
301 stars 54 forks source link

C API to support output parameters `== NULL` #779

Closed tjanc closed 4 years ago

tjanc commented 4 years ago

Some pointers passed to the drafter C API have the character of output parameters.

If set to NULL, their assignment could be skipped - perhaps the user is only testing for success.

This also contributes to simpler examples.