[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: C-objects with __gc *and* __index?
- From: Shmuel Zeigerman <shmuz@...>
- Date: Sun, 07 Aug 2005 06:48:11 +0200
Uli Kusterer wrote:
yes, looks like this was unnecessary, because this still doesn't
change anything. Still the same error message. The code I'm running is:
for i=100,1,-1 do
aRoom = Room.new()
print( tostring( aRoom ) )
aRoom = nil
I've set the C++ object to printf "room created" and "room deleted"
from its constructor/destructor. The exact output I'm getting is:
attempt to concatenate a userdata value
It seems the problems are in the UKAdventureNewRoom
and/or UKAdventureRoomToString. Could you post them?