corona  1.0.2
Classes | Functions
APITests.cpp File Reference
#include <algorithm>
#include "APITests.h"
Include dependency graph for APITests.cpp:

Go to the source code of this file.

Classes

class  TestDeletionImage

Functions

template<typename T >
T * allocate (size_t size)

Function Documentation

template<typename T >
T* allocate ( size_t  size) [inline]

Replacement for new[] that initializes with the type's default value. This is needed so valgrind doesn't think the test uses uninitialized memory.

Definition at line 222 of file APITests.cpp.