replace macros __BEGIN_DECLS __END_DECLS, which caused conflict with assert.h...
replace macros __BEGIN_DECLS and __END_DECLS, which caused conflict with assert.h when compiled with g++
replace macros __BEGIN_DECLS and __END_DECLS, which caused conflict with assert.h when compiled with g++