BlitzMax is not C, so it can not parse/compile C code!
You can write tools to convert C code to Max - I did this for the gl/glew stuff - but again, Max is not C and it is possible you will have problems converting certain C idioms. That said, with the ability to poke/peek via pointers, pretty much anything's possible.
How much 'C-ness' to give Max was certainly a consideration during its development, but I decided early on that I didn't want to add a bunch of unsafe (c-arrays), crashprone (unions) and confusing (signed/unsigned) features purely to make importing C code easier.
You can write tools to convert C code to Max - I did this for the gl/glew stuff - but again, Max is not C and it is possible you will have problems converting certain C idioms. That said, with the ability to poke/peek via pointers, pretty much anything's possible.
How much 'C-ness' to give Max was certainly a consideration during its development, but I decided early on that I didn't want to add a bunch of unsafe (c-arrays), crashprone (unions) and confusing (signed/unsigned) features purely to make importing C code easier.