Foxit PDF Conversion SDK

Public Attributes | List of all members
FXMEM_SystemMgr2 Struct Reference
FXCRT

Fixed memory manager. More...

## Public Attributes
void(* | Free )(struct _FXMEM_SystemMgr2 *pMgr, void *memory)
| Called when an addition memory pool becomes empty. More...
FX_BOOL(* | More )(struct _FXMEM_SystemMgr2 *pMgr, size_t alloc_size, void **new_memory, size_t *new_size)
| Called when fixed memory manager needs more memory. More...

## Detailed Description

Fixed memory manager.

## Member Data Documentation

## ◆ Free

void(* FXMEM_SystemMgr2::Free) (struct _FXMEM_SystemMgr2 *pMgr, void *memory)

Called when an addition memory pool becomes empty.

Parameters

  [in] | pMgr | A pointer to a FXMEM_SystemMgr2 object.
  [in] | memory | A pointer to a memory block.

Returns
  None.

## ◆ More

FX_BOOL(* FXMEM_SystemMgr2::More) (struct _FXMEM_SystemMgr2 *pMgr, size_t alloc_size, void **new_memory, size_t *new_size)

Called when fixed memory manager needs more memory.

Parameters

  [in] | pMgr | A pointer to a FXMEM_SystemMgr2 object.
  [in] | alloc_size | The size that API is trying to allocate.
  [out] | new_memory | It receives the newly allocated memory.
  [out] | new_size | It receives the newly allocated size. The newly allocated size should be at least alloc_size + 32.

Returns
  Nonzero if the function is successful; otherwise 0.