GNU bug report logs - #11764
Missing C API doc for accessing unknown number of values

Previous Next

Package: guile;

Reported by: David Kastrup <dak <at> gnu.org>

Date: Fri, 22 Jun 2012 15:25:01 UTC

Severity: minor

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Kastrup <dak <at> gnu.org>
To: bug-guile <at> gnu.org
Subject: Missing C API doc for accessing unknown number of values
Date: Fri, 22 Jun 2012 17:17:12 +0200
<URL:http://www.gnu.org/software/guile/manual/html_node/Multiple-Values.html#Multiple-Values>

provides scm_c_value_ref for accessing a particular value from a values
object.  There is no documented way for figuring out how many values
there are.  There is no documented way for getting the complete list of
values in an object (Guile itself uses scm_struct_ref (value,SCM_INUM0)).

While there is a macro VALUESP for figuring out whether an SCM is a
values object, it is not documented either.

-- 
David Kastrup




This bug report was last modified 13 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.