COMPS_RefC Struct Reference

#include <comps_mm.h>

Data Fields

size_t ref_count
void(* destructor )(void *)
void * obj

Detailed Description

Reference counter structure


Field Documentation

void(* COMPS_RefC::destructor)(void *)

callback destructor, called when reference count fall bellow 1

pointer to counted object itself

actual reference count for object


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Enumerations Defines

Generated on 1 Mar 2019 for libcomps by  doxygen 1.6.1