File containing common definitions, and basic global enums etc. for HermesCommon.
More...
#include "exceptions.h"
#include "api.h"
#include <cstddef>
Go to the source code of this file.
|
#define | static_assert(expr, msg) true |
|
|
template<typename Caller , typename ArrayItem > |
ArrayItem * | Hermes::calloc_with_check (int size, Caller *const caller, bool force_malloc=false) |
|
template<typename ArrayItem > |
ArrayItem * | Hermes::calloc_with_check (int size, bool force_malloc=false) |
|
template<typename Caller , typename ArrayItem > |
ArrayItem * | Hermes::malloc_with_check (int size, Caller *const caller, bool force_malloc=false) |
|
template<typename ArrayItem > |
ArrayItem * | Hermes::malloc_with_check (int size, bool force_malloc=false) |
|
template<typename ArrayItem > |
ArrayItem * | Hermes::malloc_with_check_direct_size (int size) |
|
template<typename ArrayItem > |
ArrayItem * | Hermes::calloc_with_check_direct_size (int size) |
|
template<typename Caller , typename ArrayItem > |
ArrayItem * | Hermes::realloc_with_check (ArrayItem *&original_array, int new_size, Caller *const caller) |
|
template<typename ArrayItem > |
ArrayItem * | Hermes::realloc_with_check (ArrayItem *&original_array, int new_size) |
|
template<typename ArrayItem > |
void | Hermes::free_with_check (ArrayItem *&ptr, bool force_malloc=false) |
|
File containing common definitions, and basic global enums etc. for HermesCommon.
Definition in file memory_handling.h.