summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter-aux.hpp
blob: 6f5ad793fa606257d7f7621573047ec53b45bdf4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef TMWA_MAP_MAGIC_INTERPRETER_AUX_HPP
#define TMWA_MAP_MAGIC_INTERPRETER_AUX_HPP

# include "magic-interpreter.t.hpp"

template<class T>
bool CHECK_TYPE(T *v, TYPE t)
{
    return v->ty == t;
}

#endif // TMWA_MAP_MAGIC_INTERPRETER_AUX_HPP