[Ecls-list] How do I check whether an object is 'nil' in C/C++?

Claus Brod claus.brod at googlemail.com
Wed Feb 25 17:31:56 UTC 2009


On Thu, Feb 26, 2009 at 4:49 AM, Nikhilesh S <s.nikhilesh at gmail.com> wrote:

> How do I check whether something is 'nil' in C/C++? Something like
> 'cl_is_nil(cl_object val)'?


Compare it against Cnil?

Example:
   if (someobject == Cnil) {
      ...
   }

Just a newbie's 0.02E,

  Claus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20090225/0f84a8cc/attachment.html>


More information about the ecl-devel mailing list