discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] uint64


From: Martin Dvh
Subject: [Discuss-gnuradio] uint64
Date: Wed, 15 Feb 2006 04:28:48 +0100
User-agent: Debian Thunderbird 1.0.2 (X11/20051002)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]