~ubuntu-branches/ubuntu/trusty/luajit/trusty

« back to all changes in this revision

Viewing changes to .pc/multi-arch-path.patch/src/luaconf.h

  • Committer: Package Import Robot
  • Author(s): Enrico Tassi
  • Date: 2013-05-20 18:08:12 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20130520180812-h514ggtgxg3nqmxl
Tags: 2.0.1+hotfix1+dfsg-1
* New upsream release
* Packaging moved to git

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
** Configuration header.
3
 
** Copyright (C) 2005-2012 Mike Pall. See Copyright Notice in luajit.h
 
3
** Copyright (C) 2005-2013 Mike Pall. See Copyright Notice in luajit.h
4
4
*/
5
5
 
6
6
#ifndef luaconf_h
30
30
#define LUA_LDIR        LUA_ROOT "share/lua/5.1/"
31
31
#define LUA_CDIR        LUA_ROOT "lib/lua/5.1/"
32
32
#ifdef LUA_XROOT
33
 
#define LUA_JDIR        LUA_XROOT "share/luajit-2.0.0/"
 
33
#define LUA_JDIR        LUA_XROOT "share/luajit-2.0.1/"
34
34
#define LUA_XPATH \
35
35
  ";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua"
36
36
#define LUA_XCPATH      LUA_XROOT "lib/lua/5.1/?.so;"
37
37
#else
38
 
#define LUA_JDIR        LUA_ROOT "share/luajit-2.0.0/"
 
38
#define LUA_JDIR        LUA_ROOT "share/luajit-2.0.1/"
39
39
#define LUA_XPATH
40
40
#define LUA_XCPATH
41
41
#endif
90
90
/* Note: changing the following defines breaks the Lua 5.1 ABI. */
91
91
#define LUA_INTEGER     ptrdiff_t
92
92
#define LUA_IDSIZE      60      /* Size of lua_Debug.short_src. */
93
 
#define LUAL_BUFFERSIZE BUFSIZ  /* Size of lauxlib and io.* buffers. */
 
93
/*
 
94
** Size of lauxlib and io.* on-stack buffers. Weird workaround to avoid using
 
95
** unreasonable amounts of stack space, but still retain ABI compatibility.
 
96
** Blame Lua for depending on BUFSIZ in the ABI, blame **** for wrecking it.
 
97
*/
 
98
#define LUAL_BUFFERSIZE (BUFSIZ > 16384 ? 8192 : BUFSIZ)
94
99
 
95
100
/* The following defines are here only for compatibility with luaconf.h
96
101
** from the standard Lua distribution. They must not be changed for LuaJIT.