Skip to content
Browse files

slight mods to m -> Capacity

  • Loading branch information...
1 parent 7f398fd commit a1b4cda176f9416e89da95fad76cb3a42eded7e5 @Wiladams committed Sep 1, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 CVec.lua
View
9 CVec.lua
@@ -139,16 +139,13 @@ local kvec_mt = {
}
-
-local function makekvec(ct)
- local tp = ffi.typeof("struct { int n, m; $ *Data; }", ct);
+local function makevec(ct)
+ local tp = ffi.typeof("struct { int n, Capacity; $ *Data; }", ct);
return ffi.metatype(tp, kvec_mt)
end
-
-
return {
- NewKind = makekvec,
+ NewKind = makevec,
}

0 comments on commit a1b4cda

Please sign in to comment.
Something went wrong with that request. Please try again.