mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Use size types for keyvaluesystem interface
This commit is contained in:
parent
d76f3a712b
commit
4c04d76ceb
@ -26,10 +26,10 @@ public:
|
|||||||
// registers the size of the KeyValues in the specified instance
|
// registers the size of the KeyValues in the specified instance
|
||||||
// so it can build a properly sized memory pool for the KeyValues objects
|
// so it can build a properly sized memory pool for the KeyValues objects
|
||||||
// the sizes will usually never differ but this is for versioning safety
|
// the sizes will usually never differ but this is for versioning safety
|
||||||
virtual void RegisterSizeofKeyValues( int64 nSize ) = 0;
|
virtual void RegisterSizeofKeyValues( ssize_t nSize ) = 0;
|
||||||
|
|
||||||
// allocates/frees a KeyValues object from the shared mempool
|
// allocates/frees a KeyValues object from the shared mempool
|
||||||
virtual void *AllocKeyValuesMemory( int64 nSize ) = 0;
|
virtual void *AllocKeyValuesMemory( ssize_t nSize ) = 0;
|
||||||
virtual void FreeKeyValuesMemory( void *pMem ) = 0;
|
virtual void FreeKeyValuesMemory( void *pMem ) = 0;
|
||||||
|
|
||||||
// symbol table access (used for key names)
|
// symbol table access (used for key names)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user