swarm-support
[Top][All Lists]
Advanced

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

Re: Boids lives! ClupeoidsV1&2 live! (was Re: [Swarm-Support] crash from


From: Marcus G. Daniels
Subject: Re: Boids lives! ClupeoidsV1&2 live! (was Re: [Swarm-Support] crash from [controlPanel setStateStopped]
Date: Sun, 23 Jan 2005 02:41:53 -0700
User-agent: Mozilla Thunderbird 0.9 (Windows/20041103)

Paul Johnson wrote:

A method that was not called explicitly anywhere turnes out to cause the seg fault outlined below.

// - drawSelf
// {

Yeah, change it to (void)drawSelf (the standard method declaration as used in Raster), and it will also work. The ambiguous type signatures for the drawSelf method confuses the Tk callbacks (to Objective C) for redrawing newly exposed content of rasters. So tclobjc pulls this method signature (instead of the void return one) and sets up the call to expect a return object when the function actually does not do that. Badness ensues.. In other words, this definition pollutes the method signature database, which happens to be essential in this case. Why an observed change relative to 2.1.1 occurred (is that what you're saying?) I didn't run down, but it might be switching from bug workaround code in FCall for the compiler to standard compiler idioms. In some sense, this `should' break.
reply via email to

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