changeset 29291:21ddf8439943

allow access to application context from interpreter object * interpreter.h (interpreter::get_app_context): New function.
author John W. Eaton <jwe@octave.org>
date Mon, 11 Jan 2021 00:46:17 -0500
parents d3c1e6f5ac85
children eb1e10abe9d5
files libinterp/corefcn/interpreter.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/interpreter.h	Wed Jan 13 14:50:15 2021 -0800
+++ b/libinterp/corefcn/interpreter.h	Mon Jan 11 00:46:17 2021 -0500
@@ -213,6 +213,11 @@
       return m_initialized;
     }
 
+    application *get_app_context (void)
+    {
+      return m_app_context;
+    }
+
     display_info& get_display_info (void)
     {
       return m_display_info;