Always return `%null-pointer' when creating a NULL pointer with no finalizer.
authorLudovic Courtès <ludo@gnu.org>
Tue, 27 Jul 2010 16:44:45 +0000 (18:44 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 28 Jul 2010 10:24:25 +0000 (12:24 +0200)
commit854aa906b45b09c0f5bb8b179851e68f878b3aa0
tree4f511e221f6bf12ebe0293db2ad0d1b0b8d48ef4
parent5b46a8c2c8f41581dd5576c8dcc06e8bde8cd849
Always return `%null-pointer' when creating a NULL pointer with no finalizer.

* libguile/foreign.c (scm_make_pointer): Always call out to
  `scm_from_pointer'.
  (scm_from_pointer): Return NULL_POINTER when PTR and FINALIZER are
  NULL.
libguile/foreign.c