mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-08-19 06:07:12 +02:00
Implement several helper functions to create long integer instances.
This commit is contained in:
@@ -1430,6 +1430,26 @@ Object BufferToStrObj(const Buffer & b);
|
||||
*/
|
||||
Object BufferToStrObj(const Buffer & b, Uint32 size);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Create a signed long integer object from an integer.
|
||||
*/
|
||||
Object MakeSLongObj(Int64 val);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Create a unsigned long integer object from an integer.
|
||||
*/
|
||||
Object MakeULongObj(Uint64 val);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Create a signed long integer object from an integer.
|
||||
*/
|
||||
Object MakeSLongObj(HSQUIRRELVM vm, Int64 val);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Create a unsigned long integer object from an integer.
|
||||
*/
|
||||
Object MakeULongObj(HSQUIRRELVM vm, Uint64 val);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Attempt to pop the value at the specified index on the stack as a native integer.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user