File: hsludata.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-- 347 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#include <HsFFI.h>
#include <lua.h>
#include <lauxlib.h>

/* ***************************************************************
 * Userdata for Haskell values
 * ***************************************************************/

/*
** Creates a new userdata metatable for Haskell objects.
*/
int hslua_newudmetatable(lua_State *L, const char *tname);