help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] #value sent by cCall?


From: Tony Garnock-Jones
Subject: [Help-smalltalk] #value sent by cCall?
Date: Tue, 08 Jan 2008 10:01:04 +0000
User-agent: Thunderbird 1.5.0.14 (X11/20071210)

Hi all,

In which circumstances might a cCall, registered as follows, invoke
#value on its argument? It happens only in a particular circumstance
(which I'm still pinning down, but seems related to global garbage
collection), which leads me to suspect it's not supposed to happen *at all*.

sdlFlip: aCobject0
    "I set up a flip and return on hardware that supports
    double-buffering, or perform a SDL_UpdateRect on hardware that
    doesn't. My C function call prototype:

    extern DECLSPEC int SDLCALL SDL_Flip(SDL_Surface *screen);"
    <cCall: 'SDL_Flip' returning: #int
        args: #( #cObject )>

Regards,
  Tony
-- 
 [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
 []  [] http://www.lshift.net/ | Email: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]