[SDL] TTF compile-error

Patrick Kooman patrick at 2dgame-tutorial.com
Sun Oct 6 03:16:00 PDT 2002


Hi,

I'm starting with TTF, however a compiler error pops up from TTF.h.

"extern DECLSPEC int SDLCALL TTF_Init(void);"

It doesn't know the type SDLCALL. I cannot find it in any headerfile from
SDL. Do I miss something. Does it have something to do FreeType, which TTF
uses? I don't think so. I use SDL 1.2.3.

If anybody knows the datatype, I just set it myself ;-)

Thanks in advance,

Patrick.





More information about the SDL mailing list