lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hmm my brain was clearly already on vacation, I just needed
to use lua_newtag() and lua_touserdata() instead.  All works
as advertised now. Sorry about that.

Love, Light and Peace,
- Peter Loveday
eyeon Software


----- Original Message ----- 
From: "Peter Loveday" <peter@eyeonline.com>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Friday, December 21, 2001 9:08 AM
Subject: Re: new snapshot of Lua 4.1 (work)


> Cool, I was hoping for a new version to get some code
> up to date with handler tables.  I've used the tag compat
> lib for now, I'll convert it properly once I look at the
> code to see what it does.
> 
> However, it still doesn't understand 'lua_newtype()' and
> 'luaL_check_userdata()'.  I presume these are now redundant..
> is there a simple example of how one creates a new userdata
> type and registers functions for it around ?
> 
> 
> Love, Light and Peace,
> - Peter Loveday
> eyeon Software
> 
> 
>