[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: using 'uint64_t' with Alien
- From: Phoenix Sol <phoenix@...>
- Date: Wed, 8 Jul 2009 14:47:34 -0500
Aha; Thanks, Fabio.
So then I need to wrap those C functions with my own, correct?
( I'm still pretty ignorant of C, unfortunately... I wonder if I can do an implicit conversion, and 'shoe-horn' longs in there? I'm about to try it, but do please reply if you have an answer. )
The relevant functions are from 'tcrdb' in tokyotyrant; three which take 'uint64_t' timestamps in microseconds, and two which return them.
Is there another way to do this manipulation? Or am I just being silly? (I'm pretty sure I can write a little C.)
Thanks a heap,
On Wed, Jul 8, 2009 at 2:17 PM, Fabio Mascarenhas <firstname.lastname@example.org>
No direct support for 64-bit integers right now; adding the type is
trivial, the problem is that a 64 bit integer is too big to fit in a
On Wed, Jul 8, 2009 at 3:48 PM, Phoenix Sol<email@example.com
> How can I use Alien with C functions which receive and return 'uint64_t' ?
> Phoenix Sol