defintions for lua_number2str and lua_str2number don't need to be public

This commit is contained in:
Roberto Ierusalimschy
2002-06-05 09:34:19 -03:00
parent 94c2449d25
commit fa23301251
3 changed files with 15 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lobject.c,v 1.81 2002/05/16 18:39:46 roberto Exp roberto $
** $Id: lobject.c,v 1.82 2002/06/03 14:08:43 roberto Exp roberto $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/
@@ -19,6 +19,11 @@
#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 TObject luaO_nilobject = {LUA_TNIL, {NULL}};