Re: Re: Help with callbacks

"Chris Double" <[email protected]> Wed, 11 Jun 2003 14:19:01 +1200
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
On Wed, 11 Jun 2003 02:09:43 -0000, "smallhairytroll"
<[email protected]> said:
> Good idea, unfortunately it still crashes. (I didn't bother calling 
> SDL_PushEvent as it still crashes returning only interval.)

Two more things to try. What happens if you call SDL_AddTimer with the
following:

(setf a-timer-1 (SDL_AddTimer 
        500 
        (ct:get-callback-procinst 'my-timer-func-1)
        (ct:int-to-foreign-ptr 0)))

Second, what calling convention does the timer callback have to be in?
Pascal, C, something else? What calling convention does the Corman Lisp
define callback use? Thinking about it, if these are different then it
would show up on functions with more than one argument perhaps? 

Chris.


-- 
  Chris Double
  [email protected]

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/