author | francesco-ST <francesco.abbate@st.com> | 2010年10月25日 16:10:41 +0200 |
---|---|---|
committer | francesco-ST <francesco.abbate@st.com> | 2010年10月25日 16:10:41 +0200 |
commit | 53b62a19f80914481b3c4ddd29a34e58fb43b543 (patch) | |
tree | 6497e00aa60de23d10f098740524095b64537dfc /matrix_decls_source.c | |
parent | 16b347628af89740c5cd4f5c6c9fd632fea55360 (diff) | |
download | gsl-shell-53b62a19f80914481b3c4ddd29a34e58fb43b543.tar.gz |
-rw-r--r-- | matrix_decls_source.c | 11 |
diff --git a/matrix_decls_source.c b/matrix_decls_source.c index a3402bcf..6afe0a48 100644 --- a/matrix_decls_source.c +++ b/matrix_decls_source.c @@ -28,10 +28,6 @@ static int FUNCTION (matrix, dims) (lua_State *L); static int FUNCTION (matrix, copy) (lua_State *L); static int FUNCTION (matrix, slice) (lua_State *L); -static int FUNCTION (matrix, mul) (lua_State *L); -static int FUNCTION (matrix, inverse) (lua_State *L); -static int FUNCTION (matrix, solve) (lua_State *L); - static void FUNCTION (matrix, set_ref) (lua_State *L, int index); static const struct luaL_Reg FUNCTION (matrix, methods)[] = { @@ -41,18 +37,15 @@ static const struct luaL_Reg FUNCTION (matrix, methods)[] = { {"__div", matrix_div_elements}, {"__unm", matrix_unm}, {"__gc", FUNCTION (matrix, free)}, - {"get", FUNCTION (matrix, get)}, - {"set", FUNCTION (matrix, set)}, {"dims", FUNCTION (matrix, dims)}, {"copy", FUNCTION (matrix, copy)}, + {"get", FUNCTION (matrix, get)}, + {"set", FUNCTION (matrix, set)}, {"slice", FUNCTION (matrix, slice)}, {NULL, NULL} }; static const struct luaL_Reg FUNCTION (matrix, functions)[] = { {PREFIX "new", FUNCTION (matrix, new)}, - {PREFIX "mul", FUNCTION (matrix, mul)}, - {PREFIX "solve", FUNCTION (matrix, solve)}, - {PREFIX "inverse", FUNCTION (matrix, inverse)}, {NULL, NULL} }; |