Mercurial > hg > octave-terminal
changeset 6193:ca97c6b26902
[project @ 2006-11-30 22:57:14 by jwe]
author | jwe |
---|---|
date | Thu, 30 Nov 2006 22:57:15 +0000 |
parents | 5a53bf0f15b0 |
children | 0d2ff0dfb159 |
files | scripts/ChangeLog scripts/miscellaneous/mexext.m |
diffstat | 2 files changed, 31 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2006-11-30 John W. Eaton <jwe@octave.org> + + * miscellaneous/mexext.m: New file. + 2006-11-29 David Bateman <dbateman@free.fr> * pkg/pkg.m: Add local_list and global_list options that allow the
new file mode 100644 --- /dev/null +++ b/scripts/miscellaneous/mexext.m @@ -0,0 +1,27 @@ +## Copyright (C) 2006 John W. Eaton +## +## This file is part of Octave. +## +## Octave is free software; you can redistribute it and/or modify it +## under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## Octave is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with Octave; see the file COPYING. If not, write to the Free +## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +## 02110-1301, USA. + +## -*- texinfo -*- +## @deftypefn {Function File} {} mexext () +## Return the filename extension used for MEX files. +## @end deftypefn + +function retval = mexext () + retval = "mex"; +endfunction