From e21e2d9480c83fee13b2e721417cc04fe8036ced Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 24 May 2015 15:39:24 +0800 Subject: add param file implementation --- matrix/generic/mmatrix.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'matrix/generic') 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); -- cgit v1.2.3-70-g09d2