Sha256: 1a843588c40f4e268dcff1f81241c2196503c71d4a2936c8e52a9c31a35b68ea

Contents?: true

Size: 737 Bytes

Versions: 18

Compression:

Stored size: 737 Bytes

Contents

// Copyright (c) 2006-2009 The Chromium 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 ENCODINGS_COMPACT_LANG_DET_WIN_CLD_STRTOINT_H_
#define ENCODINGS_COMPACT_LANG_DET_WIN_CLD_STRTOINT_H_

#if !defined(CLD_WINDOWS)

//#include "cld/base/strtoint.h"

#else

#include <stdlib.h>

#include "encodings/compact_lang_det/win/cld_basictypes.h"

// This implementation is not as good as the one in base/strtoint.h,
// but it's sufficient for our purposes.
inline int32 strto32(const char *nptr, char **endptr, int base) {
  return static_cast<int32>(strtol(nptr, endptr, base));
}

#endif

#endif  // ENCODINGS_COMPACT_LANG_DET_WIN_CLD_STRTOINT_H_

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
cld-0.13.0 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
language_detection-0.1.1 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
cld-0.12.0 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
language_detection-0.1.0 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
cld-0.11.0 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
cld-0.10.0 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
cld-0.8.0 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
cld-fixed-0.7.1 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
cld-0.7.0 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
language_detection-0.0.2 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
language_detection-0.0.1 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
cld-0.6.0 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
cld-0.5.0 ext/cld/encodings/compact_lang_det/win/cld_strtoint.h
krukid-cld-0.4.0 encodings/compact_lang_det/win/cld_strtoint.h
cld-0.4.0 encodings/compact_lang_det/win/cld_strtoint.h
cld-0.3.0 encodings/compact_lang_det/win/cld_strtoint.h
cld-0.2.0 encodings/compact_lang_det/win/cld_strtoint.h
cld-0.1.0 encodings/compact_lang_det/win/cld_strtoint.h