aboutsummaryrefslogtreecommitdiff
path: root/backend/util.h
blob: bbe307b64fdacdc1e3f5a54e06a87518e7d142d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "List.h"

void safe_free(void * & ptr);
void safe_free(char * & ptr);
void safe_free(const char * & ptr);
template <typename T>
void safe_free(List<T *> & ptr_list);

#include "util.hpp"