51Degrees Device Detection C/C++  4.1

A device detection library that is used natively or by 51Degrees products

fiftyoneDegreesResourceHandleCounter Union Reference

Detailed Description

Contains the number of active uses of the resource.

This is a union to enforce the size of a pointer as we need this to be the same size as the self pointer in ResourceHandle.

Data Fields

int32_t  inUse
Active use count of the resource. More...
void *  padding
Pads the union to the size of a pointer. More...

Field Documentation

◆ inUse

int32_t fiftyoneDegreesResourceHandleCounter::inUse

Active use count of the resource.

◆ padding

void* fiftyoneDegreesResourceHandleCounter::padding

Pads the union to the size of a pointer.

Should be set to null at initialization.


The documentation for this union was generated from the following file:
  • /home/vsts/work/1/s/apis/device-detection-cxx/src/common-cxx/resource.h
On This Page