func args are added manually using mie_func_add_arg, while the func's name is specified when the func is added to a module, to allow the module to generate a unique name.
16 lines
254 B
C
16 lines
254 B
C
#ifndef MIE_ARG_H_
|
|
#define MIE_ARG_H_
|
|
|
|
#include <mie/value.h>
|
|
|
|
#define MIE_ARG(p) ((struct mie_arg *)(p))
|
|
|
|
struct mie_arg {
|
|
struct mie_value arg_base;
|
|
struct mie_type *arg_type;
|
|
};
|
|
|
|
extern struct mie_arg *mie_arg_create(struct mie_type *type);
|
|
|
|
#endif
|