CString -> RString for files used by smpackage
This commit is contained in:
@@ -148,10 +148,6 @@ CString SecondsToMSSMsMs( float fSecs )
|
||||
return sReturn;
|
||||
}
|
||||
|
||||
#include "LuaFunctions.h"
|
||||
#include "LuaManager.h"
|
||||
LuaFunction( SecondsToMSSMsMs, SecondsToMSSMsMs( FArg(1) ) )
|
||||
|
||||
CString SecondsToMMSSMsMsMs( float fSecs )
|
||||
{
|
||||
const int iMinsDisplay = (int)fSecs/60;
|
||||
@@ -180,8 +176,6 @@ CString Commify( int iNum )
|
||||
return sReturn;
|
||||
}
|
||||
|
||||
LuaFunction( FormatNumberAndSuffix, FormatNumberAndSuffix( IArg(1) ) )
|
||||
|
||||
CString FormatNumberAndSuffix( int i )
|
||||
{
|
||||
CString sSuffix;
|
||||
@@ -1596,8 +1590,6 @@ CString Basename( const CString &dir )
|
||||
return dir.substr( start, end-start+1 );
|
||||
}
|
||||
|
||||
LuaFunction( Basename, Basename( SArg(1) ) )
|
||||
|
||||
/* Return all but the last named component of dir:
|
||||
* a/b/c -> a/b/
|
||||
* a/b/c/ -> a/b/
|
||||
|
||||
Reference in New Issue
Block a user