Common C type definitions
  • 22 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Common C type definitions

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

To better indicate their use and ensure code portability, some common C types have been redefined.

typedef     char                    aat_ascii;
typedef     unsigned char           aat_byte;
typedef     short int               aat_int16;
typedef     long int                aat_int32;
typedef     unsigned short int      aat_uint16;
typedef     unsigned long int       aat_word32;
typedef     short int               aat_bool;
enum        aat_bool
{
  aat_false False=0,
  aat_true True=1
};

In 64-bit applications, the definitions of aat_int32 and aat_word32 are different:

typedef     int                    aat_int32;
typedef     unsigned int           aat_word32;

Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle