test-integers.c File Reference

Check assumptions about integer types (sizes, ranges). More...

#include "libexif/_stdint.h"
#include <stdlib.h>
#include <stdio.h>

Go to the source code of this file.

Defines

#define CHECK(condition)

Enumerations

enum  enum_t {
  EN_A, EN_B, EN_C, EN_D,
  EN_E, EN_F
}

Functions

int main ()


Detailed Description

Check assumptions about integer types (sizes, ranges).

Copyright (C) 2007 Hans Ulrich Niedermann <gp@n-dimensional.de>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Definition in file test-integers.c.


Define Documentation

#define CHECK ( condition   ) 

Value:

if (!(condition)) {                                          \
                abort();                                             \
        }

Definition at line 46 of file test-integers.c.

Referenced by main().


Enumeration Type Documentation

enum enum_t

Enumerator:
EN_A 
EN_B 
EN_C 
EN_D 
EN_E 
EN_F 

Definition at line 28 of file test-integers.c.


Function Documentation

int main ( void   ) 

Definition at line 53 of file test-integers.c.

References CHECK.


SourceForge.net Logo Generated by doxygen