alien pointer types and nil

Bug #727661 reported by Nikodemus Siivola on 2011-03-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Medium
Unassigned

Bug Description

This is wrong:

  (typep nil '(alien (* t))) => nil

especially given that the type translators accept NIL just fine -- translating it to NULL.

Secondly, it would be very convenient to be able to define an alien pointer type that excludes NIL / NULL. See bug 721087 for the special case of C-STRINGs.

tags: added: alien
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers