mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Update some C++ header files
This commit is contained in:
+14
-1
@@ -1,7 +1,7 @@
|
||||
//***************************************************************************
|
||||
// include/cxx/cstdlib
|
||||
//
|
||||
// Copyright (C) 2009, 2012, 2015-2016 Gregory Nutt. All rights reserved.
|
||||
// Copyright (C) 2009, 2012, 2015-2017 Gregory Nutt. All rights reserved.
|
||||
// Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
@@ -90,12 +90,25 @@ namespace std
|
||||
using ::strtoll;
|
||||
using ::strtoull;
|
||||
#endif
|
||||
using ::strtof;
|
||||
#ifdef CONFIG_HAVE_DOUBLE
|
||||
using ::strtod;
|
||||
#endif
|
||||
#ifdef CONFIG_HAVE_LONG_DOUBLE
|
||||
using ::strtold;
|
||||
#endif
|
||||
|
||||
// Binary to string conversions
|
||||
|
||||
using ::itoa;
|
||||
|
||||
// Wide character operations
|
||||
|
||||
#ifdef CONFIG_LIBC_WCHAR
|
||||
using ::mbtowc;
|
||||
using ::wctomb;
|
||||
#endif
|
||||
|
||||
// Memory Management
|
||||
|
||||
using ::malloc;
|
||||
|
||||
Reference in New Issue
Block a user