diff libinterp/corefcn/interpreter.h @ 32943:5f4b519e4a5e

maint: merge stable to default
author John W. Eaton <jwe@octave.org>
date Tue, 06 Feb 2024 12:51:10 -0500
parents a11d7442f9cd 3085687255dc
children
line wrap: on
line diff
--- a/libinterp/corefcn/interpreter.h	Tue Feb 06 10:25:55 2024 +0100
+++ b/libinterp/corefcn/interpreter.h	Tue Feb 06 12:51:10 2024 -0500
@@ -219,9 +219,15 @@
     return m_evaluator.in_top_level_repl ();
   }
 
+  bool is_initialized () const
+  {
+    return m_initialized;
+  }
+
+  OCTAVE_DEPRECATED (9, "use octave::is_initialized instead")
   bool initialized () const
   {
-    return m_initialized;
+    return is_initialized ();
   }
 
   void interrupt_all_in_process_group (bool b)