summaryrefslogtreecommitdiff
path: root/src/import/import.c
blob: f86039634b1c0511033285a984e16049beae105f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <lua.h>
#include <honeysuckle.h>
#include "import.h"

#define TINYOBJ_LOADER_C_IMPLEMENTATION
#include <tinyobj/tinyobj_loader_c.h>

int dummy(lua_State *L)
{
	return 0;
}


void setup_import(lua_State *L, int honey_tbl)
{
	hs_create_table(L,
		hs_str_cfunc("dummy", dummy),
	);

	lua_setfield(L, honey_tbl, "import");
}