File: app.c.conf.in

package info (click to toggle)
lua5.1-policy 33
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 140 kB
  • ctags: 16
  • sloc: sh: 45; ansic: 42; makefile: 30
file content (9 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
// $Id: app.c.conf.in 902 2008-03-22 13:32:17Z gareuselesinge $
#include "@@LUA_HEADER@@"

static void app_open(lua_State* L){
  lua_getglobal(L,"package");
  lua_getfield(L,-1,"preload");
  lua_pushcfunction(L,luaopen_@@LUA_MODNAME_CPART_UNDERSCORE@@);
  lua_setfield(L,-2,"@@LUA_MODNAME_CPART@@");
}