Re: optional arguments in CLush functions?

Leon Bottou <[email protected]>
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
On Wednesday 16 November 2005 12:54 pm, Ralf Juengling wrote:
> > The problem is that you cannot declare that a variable can be either a null gptr, or another object.
> 
> Would the following work (I haven't tried)? 
> Declare the optional arguments as gptrs. In the function, test if
> gptr is NULL, if not NULL, cast to the expected type.
> 

I think so.
- L.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.