Proto  3.2
Namespaces | Macros | Functions
Proto_Memory.H File Reference
#include <cstring>
#include <limits>
#include <sys/resource.h>
#include "Proto_MemType.H"
Include dependency graph for Proto_Memory.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Proto
 

Macros

#define _PROTO_MEMORY_
 
#define PR_UNALLOCATED_FLOAT   7.77e77
 

Functions

template<MemType SRC_MEM = MEMTYPE_DEFAULT, MemType DST_MEM = MEMTYPE_DEFAULT>
void Proto::proto_memcpy (const void *a_src, void *a_dst, size_t a_nbytes)
 Copy Memory. More...
 
template<MemType MEM = MEMTYPE_DEFAULT>
void * Proto::proto_malloc (size_t a_nbytes)
 Allocate Memory. More...
 
template<MemType MEM = MEMTYPE_DEFAULT>
void Proto::proto_free (void *a_buffer)
 Free Memory. More...
 
MemType Proto::pointerMemType (const void *a_ptr)
 Query Pointer MemType. More...
 
template<typename T >
constexpr T Proto::proto_unallocated ()
 

Macro Definition Documentation

◆ _PROTO_MEMORY_

#define _PROTO_MEMORY_

◆ PR_UNALLOCATED_FLOAT

#define PR_UNALLOCATED_FLOAT   7.77e77