[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: using 'uint64_t' with Alien
- From: Sam Roberts <vieuxtech@...>
- Date: Wed, 8 Jul 2009 20:29:23 -0700
On Wed, Jul 8, 2009 at 8:05 PM, Phoenix Sol<firstname.lastname@example.org> wrote:
> Thanks, Sam.
> I tried doing this:
> tyr.tcrdbrnum:types('double', 'pointer') --( that's return type, arg
> type(s), in case you don't speak Alien ) ( and Alien will try to convert
I'd never heard of alien before this post. It doesn't surprise me the
things you tried failed. You have to tell alien the truth about the C
API, it won't be able to magically figure out what you want it to do.
I'd talk to Fabio, I think he could modify Alien (or you could) pretty
trivially so that it used decimal strings on the lua side for
(u)int64s on the C side. Without that, you aren't going to be able to
use Alien, I don't think.