Files
ivy/mie/const.c

15 lines
282 B
C

#include <mie/const.h>
#include <stdlib.h>
#include <string.h>
static struct mie_type *get_type(struct mie_value *v)
{
struct mie_const *c = MIE_CONST(v);
return c->c_type;
}
const struct mie_value_type const_value_type = {
.t_id = MIE_VALUE_CONST,
.t_get_type = get_type,
};