ctors and dtors
Opened this issue · 0 comments
awestlake87 commented
struct Object
*int @a
oper construct(int a):
@a: alloc<int>()
*@a = a
oper destruct():
free(@a)
@a = nil
Opened this issue · 0 comments
struct Object
*int @a
oper construct(int a):
@a: alloc<int>()
*@a = a
oper destruct():
free(@a)
@a = nil