[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`scm_list ()'

From: Ludovic Courtès
Subject: `scm_list ()'
Date: Thu, 02 Feb 2006 10:38:37 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)


`scm_list ()' is no longer available in 1.7, not even as a deprecated
function.  In 1.6, it is documented as follows:

  -- Scheme Procedure: list . objs
  -- C Function: scm_list (objs)
      Return a list containing OBJS, the arguments to `list'.

The funny thing is that to get a list, you had to have a list already
(OBJS is a list here).  I don't really get the point of this function in
fact.  ;-)

Should the following be enough to ensure compatibility?

  scm_list (SCM obj)
    scm_c_issue_deprecation_warning ("`scm_list' is deprecated.  Use  "
                                     "`scm_list_n' instead.");

    SCM_VALIDATE_LIST (1, obj);

    return obj;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]