LMMS
Loading...
Searching...
No Matches
Memory.h File Reference
#include "../water.h"
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  water

Functions

void water::zeromem (void *memory, size_t numBytes) noexcept
template<typename Type>
void water::zerostruct (Type &structure) noexcept
template<typename Type>
void water::deleteAndZero (Type &pointer)
template<typename Type, typename IntegerType>
Type * water::addBytesToPointer (Type *basePointer, IntegerType bytes) noexcept
template<typename Type1, typename Type2>
int water::getAddressDifference (Type1 *pointer1, Type2 *pointer2) noexcept
template<class Type>
Type * water::createCopyIfNotNull (const Type *objectToCopy)
template<typename Type>
Type water::readUnaligned (const void *srcPtr) noexcept
template<typename Type>
void water::writeUnaligned (void *dstPtr, Type value) noexcept