Mercurial > octave
diff etc/NEWS.10.md @ 32625:b60af3354ac3
maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
* NEWS.10.md: Announce deprecations of symbol_record_rep:mark_as_variable,
symbol_record_rep:unmark_as_variable, symbol_record:mark_as_variable,
symbol_record:unmark_as_variable.
* symrec.h (symbol_record_rep::mark_as_variable,
symbol_record_rep::unmark_as_variable, symbol_record::mark_as_variable,
symbol_record::unmark_as_variable): Add OCTAVE_DEPRECATED macro decorator
on method declarations.
* symrec.h (symbol_record_rep::mark_variable, symbol_record_rep::unmark_variable,
symbol_record::mark_variable, symbol_record::unmark_variable): New methods.
* symscope.cc (symbol_scope_rep::mark_as_variable): Change code to call
symbol_record::mark_variable().
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 Dec 2023 18:24:41 -0800 |
parents | 65084aa09317 |
children | dfb9b770ae77 |
line wrap: on
line diff
--- a/etc/NEWS.10.md Wed Dec 20 08:11:27 2023 -0800 +++ b/etc/NEWS.10.md Wed Dec 20 18:24:41 2023 -0800 @@ -12,8 +12,6 @@ to 'rtick' by the function `rticks` will only include the center tick mark value if it is specified. -- ` - ### Matlab compatibility - `height` and `width` are now aliases for the `rows` and `columns` functions. @@ -34,6 +32,15 @@ Function | Replacement -----------------------|------------------ +- Core + + Function | Replacement + --------------------------------------|------------------ + symbol_record_rep::mark_as_variable | symbol_record_rep::mark_variable + symbol_record_rep::unmark_as_variable | symbol_record_rep::unmark_variable + symbol_record::mark_as_variable | symbol_record::mark_variable + symbol_record::unmark_as_variable | symbol_record::unmark_variable + The following features were deprecated in Octave 8 and have been removed from Octave 10.