On Wed, Feb 15, 2006 at 04:28:48AM +0100, Martin Dvh wrote:
> Hi All,
> 
> I am creating a block which needs an unsigned 64 bit int  (uint64) in a struct
> I want to do this in a cross-platform way but there is no gr_uint64 yet.
> I can just use unsigned long long int, but I am not sure this is save 
> (allways 64 bit)
> I can include stdint.h and use uint64_t, but I don't know if this is 
> available on every system
> 
> The existing gr_types.h file does the following for the current types:
> typedef short                 gr_int16;
> typedef int                   gr_int32;
> typedef unsigned short        gr_uint16;
> typedef unsigned int          gr_uint32;
> 
> I am not sure this is save too.
> 
> So how to proceed?
> 
> Greetings,
> Martin

Hi Martin,

I added gr_int64 and gr_uint64 to gr_types.h.
I continued the "unsafe practice" pending a proper config fix.

Eric


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to