aboutsummaryrefslogtreecommitdiff
path: root/spec/fixtures/with_external_dep.c
blob: 16435d8f9e623c02c89e5d6871bd6a99ed3570dd (plain)
1
2
3
4
5
6
7
8
9
10
#include <foo/foo.h>
#include <lua.h>
#include <lauxlib.h>

int luaopen_with_external_dep(lua_State* L) {
   lua_newtable(L);
   lua_pushinteger(L, FOO);
   lua_setfield(L, -2, "foo");
   return 1;
}