#10 SDL_CreateThread wrapp

closed-fixed
nobody
SDL (6)
5
2008-02-26
2007-08-23
Evgeniy Ivanov
No

Hi!
In C it is:
SDL_Thread *SDL_CreateThread(int (*fn)(void *), void *data);
And in JEDI-SDL:
function SDL_CreateThread(fn: PInt; data: Pointer): PSDL_Thread;

In JEDI-SDL fn points to Integer. I don't know how to point it on my func.

Discussion

  • Logged In: YES
    user_id=12677
    Originator: NO

    Pass the addess of the function.

     
    • status: open --> closed-fixed