mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-15 08:10:17 +02:00
* tags.h, deprecated.h (SCM_EQ_P): Deprecated by moving it into
deprecated.h. Replaced all uses with scm_is_eq.
This commit is contained in:
parent
c82f8ed66c
commit
bc36d0502b
39 changed files with 201 additions and 200 deletions
|
@ -68,9 +68,9 @@ remqueue (SCM q, SCM c)
|
|||
SCM p, prev = q;
|
||||
for (p = SCM_CDR (q); !SCM_NULLP (p); p = SCM_CDR (p))
|
||||
{
|
||||
if (SCM_EQ_P (p, c))
|
||||
if (scm_is_eq (p, c))
|
||||
{
|
||||
if (SCM_EQ_P (c, SCM_CAR (q)))
|
||||
if (scm_is_eq (c, SCM_CAR (q)))
|
||||
SCM_SETCAR (q, SCM_CDR (c));
|
||||
SCM_SETCDR (prev, SCM_CDR (c));
|
||||
return;
|
||||
|
@ -457,7 +457,7 @@ SCM_DEFINE (scm_join_thread, "join-thread", 1, 0, 0,
|
|||
SCM res;
|
||||
|
||||
SCM_VALIDATE_THREAD (1, thread);
|
||||
if (SCM_EQ_P (cur_thread, thread))
|
||||
if (scm_is_eq (cur_thread, thread))
|
||||
SCM_MISC_ERROR ("can not join the current thread", SCM_EOL);
|
||||
|
||||
t = SCM_THREAD_DATA (thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue