Re: scm_to_pointer vs scm-pointer

2012-07-05 Thread Ludovic Courtès
Hi, Andy Wingo wi...@pobox.com skribis: On Tue 03 Jul 2012 23:47, l...@gnu.org (Ludovic Courtès) writes: This should be fixed. Otherwise it's impossible to document in any sane fashion. Suggestion: change scm_to_pointer to SCM_POINTER_VALUE. WDYT? I’m happy with this change. Mark?

Re: scm_to_pointer vs scm-pointer

2012-07-04 Thread Andy Wingo
On Tue 03 Jul 2012 23:47, l...@gnu.org (Ludovic Courtès) writes: This should be fixed. Otherwise it's impossible to document in any sane fashion. Suggestion: change scm_to_pointer to SCM_POINTER_VALUE. WDYT? I’m happy with this change. Mark? (Back then, I was skeptical about the

Re: scm_to_pointer vs scm-pointer

2012-07-03 Thread Ludovic Courtès
Heya! Andy Wingo wi...@pobox.com skribis: 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. v2.0.0-105-g148c331, apparently. scm_to_pointer takes a Scheme value which is a foreign pointer,

scm_to_pointer vs scm-pointer

2012-07-02 Thread Andy Wingo
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