I have some library written in pure C. Now I\'m creating some unit tests but the testing library is written in C++ rather than C. When I pass NULL to API function under test