Mercurial > hg > octave-kai > gnulib-hg
annotate modules/bitrotate @ 17165:932266a7240e
bitrotate: better 'inline'
* lib/bitrotate.c: New file.
* lib/bitrotate.h (BITROTATE_INLINE):
New macros.
Replace all uses of 'static inline' with them.
Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
* modules/bitrotate (Files, lib_SOURCES): Add lib/bitrotate.c.
(Depends-on): Add extern-inline.
(configure.ac): Do not require AC_C_INLINE.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 20 Nov 2012 22:25:05 -0800 |
parents | ca193e11eaaf |
children |
rev | line source |
---|---|
10373 | 1 Description: |
10389
ca193e11eaaf
bitrotate: Add 8 bit rotate functions.
Simon Josefsson <simon@josefsson.org>
parents:
10388
diff
changeset
|
2 Rotate bits in unsigned 8, 16, and 32 bit integers. |
10373 | 3 |
4 Files: | |
5 lib/bitrotate.h | |
17165
932266a7240e
bitrotate: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
10389
diff
changeset
|
6 lib/bitrotate.c |
10373 | 7 |
8 Depends-on: | |
17165
932266a7240e
bitrotate: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
10389
diff
changeset
|
9 extern-inline |
10388 | 10 stdint |
10373 | 11 |
12 configure.ac: | |
13 | |
14 Makefile.am: | |
17165
932266a7240e
bitrotate: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
10389
diff
changeset
|
15 lib_SOURCES += bitrotate.h bitrotate.c |
10373 | 16 |
17 Include: | |
18 "bitrotate.h" | |
19 | |
20 License: | |
21 LGPLv2+ | |
22 | |
23 Maintainer: | |
24 Simon Josefsson |