mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-21 23:51:25 +00:00
9fe2fd47ea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7185 a592a061-630c-0410-9148-cb99ea01b6c8
26 lines
442 B
C
26 lines
442 B
C
/**
|
|
* \file atoi.C
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Lars Gullik Bjønnes
|
|
* \author Jean-Marc Lasgouttes
|
|
*
|
|
* Full author contact details are available in file CREDITS
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include <cstdlib>
|
|
|
|
#include "lyxlib.h"
|
|
|
|
#ifndef CXX_GLOBAL_CSTD
|
|
using std::atoi;
|
|
#endif
|
|
|
|
int lyx::atoi(string const & nstr)
|
|
{
|
|
return ::atoi(nstr.c_str());
|
|
}
|