diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xstdlib/xstdlib.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xstdlib/xstdlib.hpp b/src/xstdlib/xstdlib.hpp index 7a2c704..1b4fd03 100644 --- a/src/xstdlib/xstdlib.hpp +++ b/src/xstdlib/xstdlib.hpp @@ -1,6 +1,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 */ |