new scheme for configuration through `luaconf.h'

This commit is contained in:
Roberto Ierusalimschy
2004-04-30 17:13:38 -03:00
parent 079facab40
commit b4cd38ba6c
34 changed files with 176 additions and 395 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.c,v 1.99 2003/06/10 12:36:26 roberto Exp roberto $
** $Id: lobject.c,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/
@@ -10,6 +10,7 @@
#include <string.h>
#define lobject_c
#define LUA_CORE
#include "lua.h"
@@ -21,11 +22,6 @@
#include "lvm.h"
/* function to convert a string to a lua_Number */
#ifndef lua_str2number
#define lua_str2number(s,p) strtod((s), (p))
#endif
const TValue luaO_nilobject = {LUA_TNIL, {NULL}};