Rename strtolxxx family of functions, all functions returning unsigned integers now carry an 'u' in their name (this is for compatibility with Irrlicht's fast_atof see http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=243079#243079).

strtol10 -> strtoul10
strtol16 -> strtoul16

strtol8  -> strtoul8
strtol10_64 -> strtoul10_64
strtol_cppstyle -> strtoul_cppstyle
strtol10_s -> strtol10


git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@923 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2011-03-23 14:26:19 +00:00
parent f0044cf7d7
commit 0fc965da91
23 changed files with 136 additions and 136 deletions

View File

@@ -386,7 +386,7 @@ bool PLY::Element::ParseElement (const char* pCur,
if (!SkipSpaces(&pCur))return false;
//parse the number of occurences of this element
pOut->NumOccur = strtol10(pCur,&pCur);
pOut->NumOccur = strtoul10(pCur,&pCur);
// go to the next line
SkipSpacesAndLineEnd(pCur,&pCur);
@@ -799,14 +799,14 @@ bool PLY::PropertyInstance::ParseValue(
case EDT_UShort:
case EDT_UChar:
out->iUInt = (uint32_t)strtol10(pCur, &pCur);
out->iUInt = (uint32_t)strtoul10(pCur, &pCur);
break;
case EDT_Int:
case EDT_Short:
case EDT_Char:
out->iInt = (int32_t)strtol10s(pCur, &pCur);
out->iInt = (int32_t)strtol10(pCur, &pCur);
break;
case EDT_Float: