Botan 3.13.0
Crypto and TLS for C&
Botan::Compression_Alloc_Info Class Referencefinal

#include <compress_utils.h>

Static Public Member Functions

static void free (void *self, void *ptr) noexcept
template<typename T>
static void * malloc (void *self, T n, T size) noexcept

Detailed Description

Definition at line 24 of file compress_utils.h.

Member Function Documentation

◆ free()

void Botan::Compression_Alloc_Info::free ( void * self,
void * ptr )
inlinestaticnoexcept

Definition at line 31 of file compress_utils.h.

31{ static_cast<Compression_Alloc_Info*>(self)->do_free(ptr); }

◆ malloc()

template<typename T>
void * Botan::Compression_Alloc_Info::malloc ( void * self,
T n,
T size )
inlinestaticnoexcept

Definition at line 27 of file compress_utils.h.

27 {
28 return static_cast<Compression_Alloc_Info*>(self)->do_malloc(n, size);
29 }

The documentation for this class was generated from the following files: