view liboctave/wrappers/strptime-wrapper.h @ 21888:00f1249f2483

create wrappers for some gnulib functions Begin moving toward a clean separation between Octave and gnulib sources. * liboctave/wrappers/canonicalize-file-name-wrapper.c, liboctave/wrappers/canonicalize-file-name-wrapper.h, liboctave/wrappers/gen-tempname-wrapper.c, liboctave/wrappers/gen-tempname-wrapper.h, liboctave/wrappers/mkostemp-wrapper.c, liboctave/wrappers/mkostemp-wrapper.h, liboctave/wrappers/nanosleep-wrapper.c, liboctave/wrappers/nanosleep-wrapper.h, liboctave/wrappers/nproc-wrapper.c, liboctave/wrappers/nproc-wrapper.h, liboctave/wrappers/putenv-wrapper.c, liboctave/wrappers/putenv-wrapper.h, liboctave/wrappers/strftime-wrapper.c, liboctave/wrappers/strftime-wrapper.h, liboctave/wrappers/strptime-wrapper.c, liboctave/wrappers/strptime-wrapper.h, liboctave/wrappers/unsetenv-wrapper.c, liboctave/wrappers/unsetenv-wrapper.h, liboctave/wrappers/vasprintf-wrapper.c, liboctave/wrappers/vasprintf-wrapper.h, liboctave/wrappers/module.mk: New files. * liboctave/module.mk, changed libinterp/module.mk: Update. * file-io.cc, load-save.cc, sysdep.cc, utils.cc, file-ops.cc, oct-time.cc, lo-utils.cc: Include wrapper headers and use wrapper functions instead of calling gnulib functions directly.
author John W. Eaton <jwe@octave.org>
date Mon, 13 Jun 2016 16:01:26 -0400
parents
children 4caa7b28d183
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_strptime_wrapper_h)
#define octave_strptime_wrapper_h 1

#if defined __cplusplus
extern "C" {
#endif

extern char *
octave_strptime_wrapper (const char *p, const char *fmt, struct tm *t);

#if defined __cplusplus
}
#endif

#endif