~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/unitypes.in.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- buffer-read-only: t -*- vi: set ro: */
2
 
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
3
 
/* Elementary types for the GNU UniString library.
4
 
   Copyright (C) 2002, 2005-2006, 2009-2011 Free Software Foundation, Inc.
 
1
/* Elementary types and macros for the GNU UniString library.
 
2
   Copyright (C) 2002, 2005-2006, 2009-2012 Free Software Foundation, Inc.
5
3
 
6
4
   This program is free software: you can redistribute it and/or modify it
7
5
   under the terms of the GNU General Public License as published
25
23
/* Type representing a Unicode character.  */
26
24
typedef uint32_t ucs4_t;
27
25
 
 
26
/* Attribute of a function whose result depends only on the arguments
 
27
   (not pointers!) and which has no side effects.  */
 
28
#ifndef _UC_ATTRIBUTE_CONST
 
29
# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
 
30
#  define _UC_ATTRIBUTE_CONST __attribute__ ((__const__))
 
31
# else
 
32
#  define _UC_ATTRIBUTE_CONST
 
33
# endif
 
34
#endif
 
35
 
 
36
/* Attribute of a function whose result depends only on the arguments
 
37
   (possibly pointers) and global memory, and which has no side effects.  */
 
38
#ifndef _UC_ATTRIBUTE_PURE
 
39
# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
 
40
#  define _UC_ATTRIBUTE_PURE __attribute__ ((__pure__))
 
41
# else
 
42
#  define _UC_ATTRIBUTE_PURE
 
43
# endif
 
44
#endif
 
45
 
28
46
#endif /* _UNITYPES_H */