File: hslcall.h

package info (click to toggle)
haskell-lua 2.1.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 260 kB
  • sloc: haskell: 1,476; ansic: 305; makefile: 4
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