develooper Front page | perl.perl6.internals | Postings from January 2006

[PATCH] Changes for LuaTable

Thread Next
From:
Klaas-Jan Stol
Date:
January 13, 2006 06:08
Subject:
[PATCH] Changes for LuaTable
Message ID:
43C7B456.70600@gmail.com
this patch changes the behaviour of the LuaTable PMC.
changes have to do with the reference semantics that PMCs have, and 
LuaTables should not have.

Setting and getting a value now will set (and get) a copy of the value.

Clone() returns a reference to itself, as clone() should be used for 
register to register copying (due to the by-value semantics of Lua values)

regards,
klaas-jan


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About