mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
combine numeric stacks into one common stack.
This commit is contained in:
parent
a2dea07d8b
commit
bc0f5bd3a3
2 changed files with 119 additions and 128 deletions
|
|
@ -114,15 +114,15 @@ struct StringStack
|
|||
}
|
||||
|
||||
/// Get an integer representation of the top of the stack.
|
||||
inline U32 getIntValue()
|
||||
inline S64 getIntValue()
|
||||
{
|
||||
return dAtoi(mBuffer + mStart);
|
||||
return dAtol(mBuffer + mStart);
|
||||
}
|
||||
|
||||
/// Get a float representation of the top of the stack.
|
||||
inline F64 getFloatValue()
|
||||
{
|
||||
return dAtof(mBuffer + mStart);
|
||||
return dAtod(mBuffer + mStart);
|
||||
}
|
||||
|
||||
/// Get a string representation of the top of the stack.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue