Skip to content

Commit

Permalink
rename the project to luahs
Browse files Browse the repository at this point in the history
  • Loading branch information
starius committed May 2, 2016
1 parent 7efec9b commit e752c23
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ modification, are permitted provided that the following conditions are met:
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of lua-hyperscan nor the names of its
* Neither the name of luahs nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# lua-hyperscan
# luahs
Lua bindings to hyperscan, high-performance regular expression matching library
20 changes: 10 additions & 10 deletions hyperscan-dev-1.rockspec → luahs-dev-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
-- lua-hyperscan, Lua bindings to hyperscan
-- luahs, Lua bindings to hyperscan
-- Copyright (C) 2015 Boris Nagaev
-- See the LICENSE file for terms of use.

package = "hyperscan"
package = "luahs"
version = "dev-1"
source = {
url = "git://github.com/starius/lua-hyperscan.git",
url = "git://github.com/starius/luahs.git",
}
description = {
summary = "Lua bindings to hyperscan",
homepage = "https://github.com/starius/lua-hyperscan",
homepage = "https://github.com/starius/luahs",
license = "BSD 3-clause",
detailed = [[
Lua bindings to hyperscan.
Expand All @@ -28,11 +28,11 @@ external_dependencies = {
build = {
type = "builtin",
modules = {
['hyperscan'] = {
['luahs'] = {
sources = {
"src/hyperscan/constants.c",
--"src/hyperscan/functions.c",
"src/hyperscan/hyperscan.c",
"src/luahs/constants.c",
--"src/luahs/functions.c",
"src/luahs/luahs.c",
},
incdirs = {"$(HS_INCDIR)"},
libdirs = {"$(HS_LIBDIR)"},
Expand All @@ -42,14 +42,14 @@ build = {
platforms = {
unix = {
modules = {
['hyperscan'] = {
['luahs'] = {
libraries = {"stdc++", "m"},
},
},
},
mingw32 = {
modules = {
['hyperscan'] = {
['luahs'] = {
libraries = {"stdc++", "m"},
},
},
Expand Down
4 changes: 2 additions & 2 deletions src/hyperscan/constants.c → src/luahs/constants.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// lua-hyperscan, Lua bindings to hyperscan
// luahs, Lua bindings to hyperscan
// Copyright (C) 2015 Boris Nagaev
// See the LICENSE file for terms of use.

#include "hyperscan.h"
#include "luahs.h"

typedef struct Constant {
int value;
Expand Down
8 changes: 4 additions & 4 deletions src/hyperscan/hyperscan.c → src/luahs/luahs.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// lua-hyperscan, Lua bindings to hyperscan
// luahs, Lua bindings to hyperscan
// Copyright (C) 2015 Boris Nagaev
// See the LICENSE file for terms of use.

#include "hyperscan.h"
#include "luahs.h"

int luaopen_hyperscan(lua_State* L) {
lua_newtable(L); // module "hyperscan"
int luaopen_luahs(lua_State* L) {
lua_newtable(L); // module "luahs"
createConstantsTable(L);
lua_setfield(L, -2, "constants");
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/hyperscan/hyperscan.h → src/luahs/luahs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// lua-hyperscan, Lua bindings to hyperscan
// luahs, Lua bindings to hyperscan
// Copyright (C) 2015 Boris Nagaev
// See the LICENSE file for terms of use.

Expand Down

0 comments on commit e752c23

Please sign in to comment.