diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 16:06:40 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 16:06:40 +0200 |
commit | 7c97899cefb5ed1dd3547b9800f96b5a4cb24bf6 (patch) | |
tree | d5919fca6288501561cafd6332ad2a72fb1183f4 /crawl-ref/source/l_mapmrk.cc | |
parent | fb872b6780842d10abf30d9fc1cff7273039b765 (diff) | |
download | crawl-ref-7c97899cefb5ed1dd3547b9800f96b5a4cb24bf6.tar.gz crawl-ref-7c97899cefb5ed1dd3547b9800f96b5a4cb24bf6.zip |
Move clua crawl_lib from clua to l_crawl.cc.
To avoid name clashes, rename dlua libs from *_lib to *_dlib.
Diffstat (limited to 'crawl-ref/source/l_mapmrk.cc')
-rw-r--r-- | crawl-ref/source/l_mapmrk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/l_mapmrk.cc b/crawl-ref/source/l_mapmrk.cc index 98c2323546..2e25a2ff2b 100644 --- a/crawl-ref/source/l_mapmrk.cc +++ b/crawl-ref/source/l_mapmrk.cc @@ -21,7 +21,7 @@ static int mapmarker_move(lua_State *ls) return (0); } -const struct luaL_reg mapmarker_lib[] = +const struct luaL_reg mapmarker_dlib[] = { { "pos", mapmarker_pos }, { "move", mapmarker_move }, @@ -30,5 +30,5 @@ const struct luaL_reg mapmarker_lib[] = void luaopen_mapmarker(lua_State *ls) { - luaopen_setmeta(ls, "mapmarker", mapmarker_lib, MAPMARK_METATABLE); + luaopen_setmeta(ls, "mapmarker", mapmarker_dlib, MAPMARK_METATABLE); } |