2003-06-18 09:56:10 +00:00
|
|
|
/**
|
|
|
|
* \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
|
|
|
|
*/
|
|
|
|
|
2000-09-26 13:54:57 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include <cstdlib>
|
|
|
|
|
|
|
|
#include "lyxlib.h"
|
|
|
|
|
2001-05-02 10:47:07 +00:00
|
|
|
#ifndef CXX_GLOBAL_CSTD
|
|
|
|
using std::atoi;
|
|
|
|
#endif
|
2000-11-02 04:48:34 +00:00
|
|
|
|
2000-09-26 13:54:57 +00:00
|
|
|
int lyx::atoi(string const & nstr)
|
|
|
|
{
|
|
|
|
return ::atoi(nstr.c_str());
|
|
|
|
}
|