Fixed two typos in the c-api user guide.
Merge pull request #4961 from cel4/tiny_doc_fixes

Fixed two typos in the c-api user guide.