source: trunk/poppler/mypoppler/goo/gstrtod.h @ 461

Last change on this file since 461 was 277, checked in by rbri, 12 years ago

PDF plugin: Poppler library updated to version 0.12.3

  • Property svn:eol-style set to native
File size: 1.4 KB
RevLine 
[277]1/* This file is part of Libspectre.
2 *
3 * Copyright (C) 2007 Albert Astals Cid <aacid@kde.org>
4 * Copyright (C) 2007 Carlos Garcia Campos <carlosgc@gnome.org>
5 *
6 * Libspectre is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
10 *
11 * Libspectre is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19 */
20
21/* This function comes from spectre-utils from libspectre */
22
23#ifndef GSTRTOD_H
24#define GSTRTOD_H
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30/* This function behaves like the standard atof()/(strtod() function
31 * does in the C locale. It does this without actually changing
32 * the current locale, since that would not be thread-safe.
33 * A limitation of the implementation is that this function
34 * will still accept localized versions of infinities and NANs.
35 */
36double gatof(const char *nptr);
37double gstrtod(const char *nptr, char **endptr);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif
Note: See TracBrowser for help on using the repository browser.