[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luajut ffi help?
- From: Peter Cawley <lua@...>
- Date: Tue, 13 Sep 2011 20:42:29 +0100
On Tue, Sep 13, 2011 at 8:32 PM, Tim Caswell <tim@creationix.com> wrote:
> And I get the error: cannot convert 'string' to 'char *'
Given that Lua strings are immutable, I'd guess that either you should
change your type signatures to so that the cast becomes an implicit
'string' to 'const char*', or use an explicit call to the ffi.cast
function.