mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-16 16:50:21 +02:00
* stime.c, socket.c, simpos.c, procs.c, posix.c, ports.c,
net_db.c, fports.c, filesys.c, eval.c, deprecation.c, dynl.c: Replaced uses of SCM_STRING_CHARS with proper uses of scm_to_locale_string. Replaced SCM_STRINGP with scm_is_string. Replaced scm_mem2string with scm_from_locale_string. * simpos.c, posix.c (allocate_string_pointers, environ_list_to_c): Removed, replaced all uses with scm_i_allocate_string_pointers.
This commit is contained in:
parent
02573e4c7a
commit
7f9994d904
11 changed files with 152 additions and 134 deletions
|
@ -1480,7 +1480,7 @@ scm_m_lambda (SCM expr, SCM env SCM_UNUSED)
|
|||
* the documentation string will have to be skipped with every execution
|
||||
* of the closure. */
|
||||
cddr_expr = SCM_CDR (cdr_expr);
|
||||
documentation = (length >= 3 && SCM_STRINGP (SCM_CAR (cddr_expr)));
|
||||
documentation = (length >= 3 && scm_is_string (SCM_CAR (cddr_expr)));
|
||||
body = documentation ? SCM_CDR (cddr_expr) : cddr_expr;
|
||||
new_body = m_body (SCM_IM_LAMBDA, body);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue