Edit

kc3-lang/angle/src/compiler/util.h

Branch :

  • Show log

    Commit

  • Author : daniel@transgaming.com
    Date : 2010-10-29 03:11:43
    Hash : 91ed1494
    Message : Use C locale for atof to ensure using a dot as decimal mark. TRAC #14055 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@470 736b8ea6-26fd-11df-bfd4-992fa37f6226

  • src/compiler/util.h
  • //
    // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    
    #ifndef COMPILER_UTIL_H
    #define COMPILER_UTIL_H
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // atof_dot is like atof but forcing C locale, i.e. forcing '.' as decimal point.
    double atof_dot(const char *str);
    
    #ifdef __cplusplus
    } // end extern "C"
    #endif
    
    #endif // COMPILER_UTIL_H