lyx_mirror/src/support/atoi.C
Angus Leeming 9fe2fd47ea Standard blurb.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7185 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-18 09:56:10 +00:00

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());
}