~ubuntu-branches/debian/squeeze/freeciv/squeeze

« back to all changes in this revision

Viewing changes to dependencies/lua/include/lualib.h

  • Committer: Bazaar Package Importer
  • Author(s): Clint Adams, Karl Goetz, Clint Adams
  • Date: 2010-02-23 22:09:02 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100223220902-kiyrmr9i4152cka5
Tags: 2.2.0-1
[ Karl Goetz ]
* Remove civserver files in /etc/ggzd/ (Closes: 523772, 517787)
* Adding ${misc:Depends} to all binary packages (lintian warnings)

[ Clint Adams ]
* New upstream version.
  - Drop data_dsc_use_bindir.diff (binary pathnames have changed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
** $Id: lualib.h 10334 2005-04-26 22:08:24Z vas $
3
 
** Lua standard libraries
4
 
** See Copyright Notice in lua.h
5
 
*/
6
 
 
7
 
 
8
 
#ifndef lualib_h
9
 
#define lualib_h
10
 
 
11
 
#include "lua.h"
12
 
 
13
 
 
14
 
#ifndef LUALIB_API
15
 
#define LUALIB_API      LUA_API
16
 
#endif
17
 
 
18
 
 
19
 
#define LUA_COLIBNAME   "coroutine"
20
 
LUALIB_API int luaopen_base (lua_State *L);
21
 
 
22
 
#define LUA_TABLIBNAME  "table"
23
 
LUALIB_API int luaopen_table (lua_State *L);
24
 
 
25
 
#define LUA_IOLIBNAME   "io"
26
 
#define LUA_OSLIBNAME   "os"
27
 
LUALIB_API int luaopen_io (lua_State *L);
28
 
 
29
 
#define LUA_STRLIBNAME  "string"
30
 
LUALIB_API int luaopen_string (lua_State *L);
31
 
 
32
 
#define LUA_MATHLIBNAME "math"
33
 
LUALIB_API int luaopen_math (lua_State *L);
34
 
 
35
 
#define LUA_DBLIBNAME   "debug"
36
 
LUALIB_API int luaopen_debug (lua_State *L);
37
 
 
38
 
 
39
 
LUALIB_API int luaopen_loadlib (lua_State *L);
40
 
 
41
 
 
42
 
/* to help testing the libraries */
43
 
#ifndef lua_assert
44
 
#define lua_assert(c)           /* empty */
45
 
#endif
46
 
 
47
 
 
48
 
/* compatibility code */
49
 
#define lua_baselibopen luaopen_base
50
 
#define lua_tablibopen  luaopen_table
51
 
#define lua_iolibopen   luaopen_io
52
 
#define lua_strlibopen  luaopen_string
53
 
#define lua_mathlibopen luaopen_math
54
 
#define lua_dblibopen   luaopen_debug
55
 
 
56
 
#endif