nanogui: Use of "unsigned long" for 32-bit quantities


Previous by date: 30 Jun 2005 21:56:06 +0100 Use of "unsigned long" for 32-bit quantities, Paul Bartholomew
Next by date: 30 Jun 2005 21:56:06 +0100 Re: Use of "unsigned long" for 32-bit quantities, Jordan Crouse
Previous in thread: 30 Jun 2005 21:56:06 +0100 Use of "unsigned long" for 32-bit quantities, Paul Bartholomew
Next in thread: 30 Jun 2005 21:56:06 +0100 Re: Use of "unsigned long" for 32-bit quantities, Jordan Crouse

Subject: Re: [nanogui] Use of "unsigned long" for 32-bit quantities
From: Alexander Neundorf ####@####.####
Date: 30 Jun 2005 21:56:06 +0100
Message-Id: <200506302255.50834.neundorf@kde.org>

On Thursday 30 June 2005 21:44, Paul Bartholomew wrote:
...
> I suggest a global header file with 'generic' typedefs (like "uint16",
> "uint32", etc), which can be customized based on your compiler.  Then,
> instead of using types like "unsigned long" and "unsigned int" throughout
> the code (when the code really means: 32bits or 16 bits), use the new
> "uint32/uint16" types.

Sounds good, IMHO this would be the right approach.

Bye
Alex
-- 
Work: ####@####.#### - http://www.jenoptik-los.de
Home: ####@####.####                - http://www.kde.org
      ####@####.####               - http://www.neundorf.net

Previous by date: 30 Jun 2005 21:56:06 +0100 Use of "unsigned long" for 32-bit quantities, Paul Bartholomew
Next by date: 30 Jun 2005 21:56:06 +0100 Re: Use of "unsigned long" for 32-bit quantities, Jordan Crouse
Previous in thread: 30 Jun 2005 21:56:06 +0100 Use of "unsigned long" for 32-bit quantities, Paul Bartholomew
Next in thread: 30 Jun 2005 21:56:06 +0100 Re: Use of "unsigned long" for 32-bit quantities, Jordan Crouse


Powered by ezmlm-browse 0.20.