Re: [gtk-list] Re: Apprarently simple signal/event question



>> Actually, it's very common for integal return values to be left in a
>> register, not in memory. So returning a value would not cause memory
>> corruption. For example, on x86, gcc leaves the return value in the
>> EAX register.
>> 
>
>Fair enough. 
>
>Still, it seems like a Bad Idea (tm) to rely on this. ;-)

AMEN!!!  Indeed, it is a TERRIBLE idea to do something like this!!!
ALWAYS make sure your callback signatures and your EXPECTED signals
matchup!!!:-)

Thanks, Havoc :-)

--
===
Peace,
Peter

We are Microsoft of Borg, you will be assimilated!!!
Resistance is fut...  ***BZZZRT***  THUD!!!
[General Protection Fault in MSBorg32.DLL]
Please contact the Vendor of this Borg for more Information

--



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