view 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
line wrap: on
line source

Description:
Rotate bits in unsigned 8, 16, and 32 bit integers.

Files:
lib/bitrotate.h
lib/bitrotate.c

Depends-on:
extern-inline
stdint

configure.ac:

Makefile.am:
lib_SOURCES += bitrotate.h bitrotate.c

Include:
"bitrotate.h"

License:
LGPLv2+

Maintainer:
Simon Josefsson