changeset 29750:3a84bd37c6eb stable

Backed out changeset 52b2680e091c (bug #60771) * __init_fltk__.cc: Don't hide __fltk_check__ from the interpreter because it may be called directly from the ginput function.
author John W. Eaton <jwe@octave.org>
date Fri, 11 Jun 2021 09:11:43 -0400
parents c0466e8ab704
children 534ee1093a54 e04b4706ca18
files libinterp/dldfcn/__init_fltk__.cc
diffstat 1 files changed, 5 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/dldfcn/__init_fltk__.cc	Fri May 07 21:05:56 2021 -0400
+++ b/libinterp/dldfcn/__init_fltk__.cc	Fri Jun 11 09:11:43 2021 -0400
@@ -2484,14 +2484,11 @@
 
 #endif
 
-// This function has the same type signature as a builtin function so
-// that we can create a function handle from it but it is not defined
-// using a DEFMETHOD macro so that it will be omitted from the list of
-// autoloaded functions in the PKG_ADD file and will not be visible to
-// the interpreter.
-
-static octave_value_list
-F__fltk_check__ (octave::interpreter& interp, const octave_value_list&, int)
+DEFMETHOD_DLD (__fltk_check__, interp, , ,
+               doc: /* -*- texinfo -*-
+@deftypefn {} {} __fltk_check__ ()
+Undocumented internal function.  Calls Fl::check ()
+@end deftypefn */)
 {
 #if defined (HAVE_FLTK)
   Fl::check ();