mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-08-19 06:07:12 +02:00
More helper functions to the shared utility.
This commit is contained in:
@@ -1450,6 +1450,26 @@ Object MakeSLongObj(HSQUIRRELVM vm, Int64 val);
|
||||
*/
|
||||
Object MakeULongObj(HSQUIRRELVM vm, Uint64 val);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Retrieve a signed 64 bit integer from an signed long integer object.
|
||||
*/
|
||||
Int64 FetchSLongObjVal(Object & val);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Retrieve a unsigned 64 bit integer from an unsigned long integer object.
|
||||
*/
|
||||
Uint64 FetchULongObjVal(Object & val);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Retrieve a signed 64 bit integer from an signed long integer object.
|
||||
*/
|
||||
Int64 FetchSLongObjVal(HSQUIRRELVM vm, Object & val);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Retrieve a unsigned 64 bit integer from an unsigned long integer object.
|
||||
*/
|
||||
Uint64 FetchULongObjVal(HSQUIRRELVM vm, Object & val);
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------
|
||||
* Attempt to pop the value at the specified index on the stack as a native integer.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user