diff libinterp/corefcn/graphics.in.h @ 27682:e18237114cf8

Hide __appdata__ internal property (bug #57211). * graphics.in.h (base_graphics_object::__appdata__): New hidden any_property that defaults to an empty matrix. * setappdata.m, isappdata.m, getappdata.m: Simplify code by removing try/catch blocks now that "__appdata__" property is guaranteed to exist.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Tue, 12 Nov 2019 15:39:05 +0100
parents c23aee2104de
children f65b1666e650
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h	Wed Nov 13 09:13:41 2019 -0500
+++ b/libinterp/corefcn/graphics.in.h	Tue Nov 12 15:39:05 2019 +0100
@@ -2385,6 +2385,7 @@
     bool_property visible u , "on"
 
     // Octave-specific properties
+    any_property __appdata__ h , Matrix ()
     bool_property __modified__ hs , "on"
     graphics_handle __myhandle__ fhrs , mh
   END_PROPERTIES