lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Overriding assignment to do userdata copy instead of reference
From
: "Lucas Hermann Negri" <kkndrox@
...
>
Date
: Mon, 22 Sep 2008 18:09:12 -0300
Create a new table for every instance.
function Object.new()
local self = {}
setmetatable(self, {__index = Object})
return self
end
--
http://oproj.tuxfamily.org
Follow-Ups
:
Re: Overriding assignment to do userdata copy instead of reference
,
Matthew Armstrong
References
:
Overriding assignment to do userdata copy instead of reference
,
Matthew Armstrong
Prev by Date:
Overriding assignment to do userdata copy instead of reference
Next by Date:
Re: Overriding assignment to do userdata copy instead of reference
Previous by thread:
Overriding assignment to do userdata copy instead of reference
Next by thread:
Re: Overriding assignment to do userdata copy instead of reference
Index(es):
Date
Thread