Am 29.10.2010 03:33, schrieb Vincent van Ravesteijn:

One last question: How do I explicitly specify that the "0" in my patch is a pointer? I 
mean "0"
could also refer an int or double. The compiler doesn't complain and "0" is the 
default return
value of innerInsetOfType but I'm wondering why this works.

There is also a small section on this in the codeandadvice manual in 
development/coding.

Thanks, I'll have a look at this manual.

Some code uses NULL to somehow indicate a null pointer, sometimes you see 
(Inset *) 0, but in the
end a pointer is just a number and a number can be 0 I guess.

Usually we just do:...

Thanks for the explanation.

regards Uwe

Reply via email to