# HG changeset patch # User John W. Eaton # Date 1585169190 14400 # Node ID 52b2680e091cc0be0d78e25cddc764a7a07bdcc9 # Parent 087bccd1ab494af041ddacdf5449b4f449cdc2ad hide __fltk_check__ function * __init_fltk__.cc (F__fltk_check__): Define without using the DEFMETHOD macro. diff -r 087bccd1ab49 -r 52b2680e091c libinterp/dldfcn/__init_fltk__.cc --- a/libinterp/dldfcn/__init_fltk__.cc Thu Mar 19 13:54:03 2020 -0400 +++ b/libinterp/dldfcn/__init_fltk__.cc Wed Mar 25 16:46:30 2020 -0400 @@ -2484,11 +2484,14 @@ #endif -DEFMETHOD_DLD (__fltk_check__, interp, , , - doc: /* -*- texinfo -*- -@deftypefn {} {} __fltk_check__ () -Undocumented internal function. Calls Fl::check () -@end deftypefn */) +// 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) { #if defined (HAVE_FLTK) Fl::check ();