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

#include "magic-interpreter.t.hpp"

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

#endif // MAGIC_INTERPRETER_AUX_HPP