Differences From Artifact [a177326f1c]:
- File mem.t — part of check-in [bbfea467bf] at 2020-12-27 02:31:30 on branch trunk — permissions work now (user: lexi, size: 4627) [annotate] [blame] [check-ins using]
To Artifact [1f9397ac82]:
- File mem.t — part of check-in [f8816b0ab5] at 2020-12-29 15:48:34 on branch trunk — enable remote control of running instances (user: lexi, size: 4647) [annotate] [blame] [check-ins using]
60 60 t.methods = { 61 61 free = terra(self: &t): bool 62 62 [recurse and quote 63 63 self.ptr:free() 64 64 end or {}] 65 65 if self.ct > 0 then 66 66 m.heapf(self.ptr) 67 + self.ptr = nil 67 68 self.ct = 0 68 69 return true 69 70 end 70 71 return false 71 72 end; 72 73 init = terra(self: &t, newct: intptr): bool 73 74 if newct == 0 then self.ct = 0 self.ptr = nil return false end