|
On Wed, Jul 8, 2009 at 8:05 PM, Phoenix Sol<phoenix@burninglabs.com> wrote:I'd never heard of alien before this post. It doesn't surprise me the
> 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
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.
Sam