I had a look at the code and it looked distinctly like C++, but it turns out there is a C version [1] too. Haven't looked into it further.
[1]: https://github.com/syoyo/tinyobjloader-c