|
Wireshark 4.7.3
The Wireshark network protocol analyzer
|
Internal implementation of GPtrArray, holding the backing pointer buffer and allocation metadata. More...
#include <glib-compat.h>
Public Attributes | |
| gpointer * | pdata |
| guint | len |
| guint | alloc |
| gatomicrefcount | ref_count |
| guint8 | null_terminated:1 |
| GDestroyNotify | element_free_func |
Internal implementation of GPtrArray, holding the backing pointer buffer and allocation metadata.
| guint _GRealPtrArray::alloc |
Total number of pointer slots the current backing buffer can hold before reallocation.
| GDestroyNotify _GRealPtrArray::element_free_func |
Optional callback invoked on each element pointer before it is removed or the array is freed; NULL if not set.
| guint _GRealPtrArray::len |
Current number of pointers stored in the array.
| guint8 _GRealPtrArray::null_terminated |
1 if a NULL sentinel is maintained past the last valid pointer, allowing the buffer to be used as a NULL-terminated array; 0 otherwise.
| gpointer* _GRealPtrArray::pdata |
Pointer to the raw backing buffer storing the array's element pointers.
| gatomicrefcount _GRealPtrArray::ref_count |
Atomic reference count controlling the lifetime of this array.