aboutsummaryrefslogtreecommitdiff
path: root/matrix/generic/mmatrix.c
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-24 15:39:24 +0800
committerDeterminant <[email protected]>2015-05-24 15:39:24 +0800
commite21e2d9480c83fee13b2e721417cc04fe8036ced (patch)
treec45e19379badce0815bdbdbd58bc8df27cc5da7d /matrix/generic/mmatrix.c
parent0e250c43b62b7593edc163d0510d229010361707 (diff)
add param file implementation
Diffstat (limited to 'matrix/generic/mmatrix.c')
-rw-r--r--matrix/generic/mmatrix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/matrix/generic/mmatrix.c b/matrix/generic/mmatrix.c
index c301e23..6edac69 100644
--- a/matrix/generic/mmatrix.c
+++ b/matrix/generic/mmatrix.c
@@ -17,6 +17,9 @@ static void host_matrix_(alloc)(MATRIX_ELEM **dptr, size_t *stride,
*stride = width;
}
+static const luaL_Reg nerv_matrix_(extra_methods)[] = {
+};
+
int nerv_matrix_(get_elem)(lua_State *L) {
Matrix *self = luaT_checkudata(L, 1, nerv_matrix_(tname));
int idx = luaL_checkinteger(L, 2);