Hello,

scm->pointer takes a Scheme value and returns a Scheme value which is a
foreign pointer to the Scheme value.  It has been in Guile since 2.0 I
think.

scm_to_pointer takes a Scheme value which is a foreign pointer, and
unpacks that foregin pointer as a void*.

scm_to_pointer is a new interface in master that is not in 2.0.5, and
that is inconsistent with scm->pointer / scm_scm_to_pointer.  This
should be fixed.  Otherwise it's impossible to document in any sane
fashion.

Suggestion: change scm_to_pointer to SCM_POINTER_VALUE.  WDYT?

Andy
-- 
http://wingolog.org/

Reply via email to