Void is 0, so it's an int. There is no special void type in pike, just a special zero...
/ Mirar
Previous text:
2004-02-12 10:35: Subject: Re: void|int function parameters - how to check if those are passed?
On Thu, Feb 12, 2004 at 10:25:01AM +0100, Johan Sundström (Achtung Liebe!) @ Pike (-) developers forum wrote:
zero_type(parm) is your friend. This kind of question is more in scope with the pike list than the focus of pike-dev, by the way.
OK, thanks - I forgot about zero_type(). But the reason why I posted it here is: I believe that current behavior of intp() is not really correct, at least it seems so (void is not intp()).
Regards, /Al
/ Brevbäraren