mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
* coop-threads.c: Remove K&R function headers.
* scm_validate.h: Added SCM_VALIDATE_THREAD. * *.c: Remove SCM_NIMP(X) when it is an extraneous pre-test given that SCM_FOOP macros all now include SCM_NIMP in their expansion. This simplifies lots of code, making it far more readable.
This commit is contained in:
parent
9c24ff3e6c
commit
0c95b57d77
50 changed files with 324 additions and 384 deletions
|
@ -119,7 +119,7 @@ scm_make_root (SCM parent)
|
|||
|
||||
root_state = (scm_root_state *) scm_must_malloc (sizeof (scm_root_state),
|
||||
"scm_make_root");
|
||||
if (SCM_NIMP (parent) && SCM_ROOTP (parent))
|
||||
if (SCM_ROOTP (parent))
|
||||
{
|
||||
memcpy (root_state, SCM_ROOT_STATE (parent), sizeof (scm_root_state));
|
||||
scm_copy_fluids (root_state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue