I downloaded CSFML-2.1-windows-32bits.zip, for gcc/msvc. I need to translate C headers of CSFML into FreeBASIC. I'm translating by manual method. I do know good C but am not C expert, mainly application programmer. I got confused in declarations like (from Image.h):
CSFML_GRAPHICS_API sfImage* sfImage_create(unsigned int width, unsigned int height);
what is CSFML_GRAPHICS_API? If I am right, we are declaring a function sfImage_create type pointer to sfImage. But what do CSFML_GRAPHICS_API do and stand for? Then audio headers have CSFML_AUDIO_API, network headers have CSFML_NETWORK_API, etc.
- Harsh Bhati