changeset 16972:45afabc5f7c8

NEWS: Add note about deprecation of class Octave_map. * NEWS: Add note about deprecated class Octave_map. * libinterp/corefcn/oct-map.h: Add note about deprecated class Octave_map.
author Rik <rik@octave.org>
date Sat, 13 Jul 2013 10:10:54 -0700
parents 259c1f295a1e
children d429a05dc11c
files NEWS libinterp/corefcn/oct-map.h
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Sat Jul 13 08:08:15 2013 -0700
+++ b/NEWS	Sat Jul 13 10:10:54 2013 -0700
@@ -240,6 +240,11 @@
       CC_VERSION  (now GCC_VERSION)
       CXX_VERSION (now GXX_VERSION)
 
+    The internal class <Octave_map> has been deprecated in Octave 3.8 and will
+    be removed from Octave 3.12 (or whatever version is the second major
+    release after 3.8).  Replacement classes are <octave_map> (struct array)
+    or <octave_scalar_map> for single structure.
+
 Summary of important user-visible changes for version 3.6:
 ---------------------------------------------------------
 
--- a/libinterp/corefcn/oct-map.h	Sat Jul 13 08:08:15 2013 -0700
+++ b/libinterp/corefcn/oct-map.h	Sat Jul 13 10:10:54 2013 -0700
@@ -474,6 +474,7 @@
   { return v.map_value (); }
 
 // The original Octave_map object which is now deprecated.
+// It was fully deprecated in version 3.8 and should be removed in 3.12.
 // Octave_map and octave_map are convertible to each other.
 
 class