aboutsummaryrefslogtreecommitdiffstats
path: root/src/xstdlib/xstdlib.hpp
blob: 1b4fd03f49613541ba110766eb9b5aceb8d11fb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef ENGINE_XSTDLIB_H
#define ENGINE_XSTDLIB_H

template <class T>
struct linked_list {
	T *data;
	struct linked_list *next;

	linked_list(T *a_data, struct linked_list *a_next)
		: data(a_data), next(a_next) { }
};

char *xfread(const char *path, const char *mode);

#endif /* ENGINE_XSTDLIB_H */