Menu

#10 SDL_CreateThread wrapp

closed-fixed
nobody
SDL (6)
5
2008-02-26
2007-08-23
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

  • Dominique Louis

    Dominique Louis - 2008-02-26

    Logged In: YES
    user_id=12677
    Originator: NO

    Pass the addess of the function.

     
  • Dominique Louis

    Dominique Louis - 2008-02-26
    • status: open --> closed-fixed
     

Log in to post a comment.