IoTivity-Lite
oc_mmem Struct Reference

An allocation block. More...

#include <oc_mmem.h>

Data Fields

void * ptr
 Pointer to the memory. More...
 
size_t size
 Size of this block. More...
 

Detailed Description

An allocation block.

Warning
With OC_DYNAMIC_ALLOCATION not defined, the allocation and deallocation of structs typedef-ed from oc_mmem_t is not thread-safe.

Field Documentation

◆ ptr

void* ptr

Pointer to the memory.

◆ size

size_t size

Size of this block.


The documentation for this struct was generated from the following file: