Mercurial > octave
view libinterp/oct-conf-features.h @ 21182:82a44483dbff
move octave_config_features function out of header file
* oct-conf-features.h: New file.
* module.mk: Generate octave-conf-features.cc instead of
oct-conf-features.h.
* toplev.cc (Foctave_config_info): Call octave::config::features.
* config-features.sh: Adapt to use of namespace. Make internal data
static and initialized only once.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 03 Feb 2016 15:10:15 -0500 |
parents | |
children | f7d1050b9b53 |
line wrap: on
line source
/* Copyright (C) 2016 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */ #if ! defined (octave_conf_features_h) #define octave_conf_features_h 1 #include "oct-map.h" namespace octave { namespace config { extern OCTAVE_API octave_scalar_map features (void); }; }; #endif