mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 06:20:23 +02:00
*** empty log message ***
This commit is contained in:
parent
e11e83f3d9
commit
d5b203a684
1 changed files with 21 additions and 0 deletions
21
NEWS
21
NEWS
|
@ -598,6 +598,27 @@ starting the week.
|
|||
|
||||
* Changes to the C interface
|
||||
|
||||
** Many of the old macros for doing type conversions between C and
|
||||
Scheme have been deprecated and replaced with functions (or macros
|
||||
that behave like functions).
|
||||
|
||||
This was done to ...
|
||||
|
||||
These are the deprecated macros and their replacements:
|
||||
|
||||
SCM_EQ_P -> scm_is_eq
|
||||
SCM_FALSEP -> scm_is_false
|
||||
SCM_NFALSEP -> scm_is_true
|
||||
SCM_BOOL -> scm_from_bool
|
||||
SCM_NEGATE_BOOL -> scm_from_bool (! ...)
|
||||
SCM_BOOLP -> scm_is_bool
|
||||
SCM_BOOL_NOT -> scm_not
|
||||
|
||||
SCM_INUMP -> scm_is_integer or similar
|
||||
SCM_NINUMP -> !scm_is_integer or similar
|
||||
SCM_MAKINUM -> scm_from_int or similar
|
||||
SCM_INUM -> scm_to_int or similar
|
||||
|
||||
** SCM_CELL_WORD_LOC has been deprecated.
|
||||
|
||||
Use the new macro SCM_CELL_OBJECT_LOC instead, which return a pointer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue