moka/lib/native.h

21 lines
305 B
C
Raw Normal View History

#ifndef MK_NATIVE_H
#define MK_NATIVE_H
#include "commons.h"
#include "vec.h"
struct moka;
typedef MOKA (*native_fun_t)(struct moka*, struct vec* args);
struct native
{
native_fun_t fun;
};
void native_init(struct native* self, native_fun_t fun);
void native_free(struct native* self);
#endif