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



RNG <r.gasch@chello.nl> writes:
> in memory, but what about calls like: 
> 
> 	strcpy (pos, string);
> or
> 	memcpy (new_mem, mem, byte_size);
> 

This is quite different from what we were talking about. In the
wrong-callback case you are basically lying to the compiler about the
function type; for example you take a function that does return a
value, and you cast it to a function that does not, and then you call
it.

In the above case, the compiler knows full well the type of the
function and can be expected to compile it properly.

Havoc



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