Create VS2012 project
replace typename to type_name, conflict with C++ keyword
VS2012 can't #include <stdbool.h>
void* p cast to (TYPE*)p