view m4/module.mk @ 30919:4ed7dfe28584

move eval of anon fcn handles and built-in and mex functions to pt-eval.cc For consistency with the evaluation of user-defined functions and scripts, move the evaluation of anonymous function handles and built-in and mex functions to the tree_evaluator class in pt-eval.cc. * pt-eval.h, pt-eval.cc (tree_evaluator::evaluate_anon_fcn_handle, tree_evaluator::execute_builtin_function, tree_evaluator::execute_mex_function): New functions extracted from tree_anon_fcn_handle::evalueate, octave_builtin::execute and octave_mex_function::execute, respectively. * ov-builtin.cc (octave_builtin::execute): Forward to tree_evaluator::execute_builtin_function. * ov-mex-fcn.cc (octave_mex_function::execute): Forward to tree_evaluator::execute_mex_function. * pt-fcn-handle.cc (tree_anon_fcn_handle::evaluate): Forward to tree_evaluator::evaluate_anon_fcn_handle. * mex.cc: Move call_mex inside octave namespace. * mex-private.h: New file. * libinterp/corefcn/module.mk: Update.
author John W. Eaton <jwe@octave.org>
date Fri, 08 Apr 2022 14:11:05 -0400
parents 83dbee7c8f08
children 4dc326899f65
line wrap: on
line source

EXTRA_DIST += \
  %reldir%/module.mk \
  %reldir%/ax_blas.m4 \
  %reldir%/ax_compare_version.m4 \
  %reldir%/ax_cxx_compile_stdcxx.m4 \
  %reldir%/ax_lapack.m4 \
  %reldir%/ax_openmp.m4 \
  %reldir%/ax_pthread.m4 \
  %reldir%/gnulib-cache.m4 \
  %reldir%/libtool.m4 \
  %reldir%/ltoptions.m4 \
  %reldir%/ltsugar.m4 \
  %reldir%/ltversion.m4 \
  %reldir%/lt~obsolete.m4 \
  %reldir%/octave_blas_f77_func.m4 \
  %reldir%/pkg.m4