GOG GALAXY SDK Documentation
GalaxyAllocator Struct Reference

Custom memory allocator for GOG Galaxy SDK. More...

#include <GalaxyAllocator.h>

Public Member Functions

 GalaxyAllocator ()
 GalaxyAllocator default constructor.
 
 GalaxyAllocator (GalaxyMalloc _galaxyMalloc, GalaxyRealloc _galaxyRealloc, GalaxyFree _galaxyFree)
 GalaxyAllocator constructor. More...
 

Public Attributes

GalaxyMalloc galaxyMalloc
 Allocation function.
 
GalaxyRealloc galaxyRealloc
 Reallocation function.
 
GalaxyFree galaxyFree
 Free function.
 

Detailed Description

Custom memory allocator for GOG Galaxy SDK.

Constructor & Destructor Documentation

◆ GalaxyAllocator()

GalaxyAllocator ( GalaxyMalloc  _galaxyMalloc,
GalaxyRealloc  _galaxyRealloc,
GalaxyFree  _galaxyFree 
)
inline

GalaxyAllocator constructor.

Parameters
[in]_galaxyMallocAllocation function.
[in]_galaxyReallocReallocation function.
[in]_galaxyFreeFree function.