Files
ivy/mie/include/mie/const.h

21 lines
281 B
C

#ifndef MIE_CONST_H_
#define MIE_CONST_H_
#include <mie/value.h>
#define MIE_CONST(p) ((struct mie_const *)(p))
struct mie_const {
struct mie_value c_base;
struct mie_type *c_type;
union {
int64_t v_int;
double v_float;
char *v_str;
char *v_atom;
} c_v;
};
#endif