diff options
author | rrt <rrt> | 2006-04-04 15:51:22 +0000 |
---|---|---|
committer | rrt <rrt> | 2006-04-04 15:51:22 +0000 |
commit | ac6ba8e85c4e88db186f044b51f86d761666afc1 (patch) | |
tree | 31eb50a672b2bba58ecddb891967302f8ece544f /src/common.h | |
parent | d3588d0c43deda87846fbee618c92d238e9c5e35 (diff) | |
download | lrexlib-ac6ba8e85c4e88db186f044b51f86d761666afc1.tar.gz |
Add copyright to common.h.
Change #includes of Lua headers to "" rather than <> to cope better
with the (common?) case of being used in a Lua source tree.
Diffstat (limited to 'src/common.h')
-rwxr-xr-x | src/common.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/common.h b/src/common.h index 481b067..f107b16 100755 --- a/src/common.h +++ b/src/common.h @@ -1,11 +1,11 @@ /* common.h */ -/* Reuben Thomas nov00-18dec04 */ -/* Shmuel Zeigerman may04-18dec04 */ +/* (c) Reuben Thomas 2000-2004 */ +/* (c) Shmuel Zeigerman 2004 */ #ifndef COMMON_H #define COMMON_H -#include <lua.h> +#include "lua.h" /* REX_LIB_API can be overridden from the command line or Makefile */ #ifndef REX_LIB_API @@ -17,11 +17,10 @@ typedef struct { const char* key; int val; } flags_pair; void createmeta (lua_State *L, const char *name); -int get_flags (lua_State *L, const flags_pair *arr); -int get_startoffset (lua_State *L, int stackpos, size_t len); +int get_flags (lua_State *L, const flags_pair *arr); +int get_startoffset (lua_State *L, int stackpos, size_t len); void L_lua_error (lua_State *L, const char *message); void *Lmalloc (lua_State *L, size_t size); -int udata_tostring (lua_State *L, const char* type_handle, const char* type_name); +int udata_tostring (lua_State *L, const char* type_handle, const char* type_name); #endif - |