File: hslcall.h

package info (click to toggle)
haskell-lua 2.3.3%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 276 kB
  • sloc: haskell: 1,582; ansic: 403; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef hslcall_h
#define hslcall_h

#define HSLUA_ERR "HSLUA_ERR"
#define HSLUA_HSFUN_NAME "HsLuaFunction"
#include <HsFFI.h>
#include <lua.h>

/*  register metatable for HaskellFunction userdata wrappers */
void hslua_registerhsfunmetatable(lua_State *L);

#endif