summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter-aux.hpp
blob: 070c771a2f796e4a5d8663a57891cbf6f304555e (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