Mercurial > octave-dspies
view liboctave/link-deps.mk @ 19008:80ca3b05d77c draft
New "dispatch" selects template argument from octave-value (Bug #42424, 42425)
* find.cc (Ffind): This method now calls dispatch() rather than attempting to
handle all matrix types on its own
(findTemplated): Changed to a functor to be passed as a template template
argument to dispatch()
(findInfo): A struct that holds the other arguments to find
(n_to_find, direction, nargout)
Added unit tests for bugs 42424 and 42425
* (new file) dispatch.h (dispatch): A method for dispatching function calls to
the right templated value based on an octave_value argument.
author | David Spies <dnspies@gmail.com> |
---|---|
date | Sat, 21 Jun 2014 13:13:05 -0600 |
parents | 82c94987abc6 |
children |
line wrap: on
line source
GNULIB_LINK_DEPS = \ $(COPYSIGNF_LIBM)\ $(COPYSIGN_LIBM)\ $(FLOORF_LIBM)\ $(FLOOR_LIBM)\ $(GETHOSTNAME_LIB)\ $(LIBSOCKET)\ $(LIB_NANOSLEEP)\ $(LIB_SELECT)\ $(LTLIBINTL)\ $(ROUNDF_LIBM)\ $(ROUND_LIBM)\ $(TRUNCF_LIBM)\ $(TRUNC_LIBM) LIBOCTAVE_LINK_DEPS = \ $(GNULIB_LINK_DEPS) \ $(CURL_LIBS) \ $(SPARSE_XLIBS) \ $(ARPACK_LIBS) \ $(QRUPDATE_LIBS) \ $(FFTW_XLIBS) \ $(LAPACK_LIBS) \ $(BLAS_LIBS) \ $(READLINE_LIBS) \ $(TERM_LIBS) \ $(LIBGLOB) \ $(PCRE_LIBS) \ $(DL_LIBS) \ $(PTHREAD_LIBS) \ $(FLIBS) \ $(LIBS) LIBOCTAVE_LINK_OPTS = \ $(CURL_LDFLAGS) \ $(SPARSE_XLDFLAGS) \ $(ARPACK_LDFLAGS) \ $(QRUPDATE_LDFLAGS) \ $(FFTW_XLDFLAGS)