Mercurial > hg > octave-shane > gnulib-hg
view modules/count-leading-zeros @ 17166:22a948de1761
count-leading-zeros: better 'inline'
* lib/count-leading-zeros.c: New file.
* lib/count-leading-zeros.h (COUNT_LEADING_ZEROS_INLINE):
New macro. Replace all uses of 'static inline' with it.
Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END.
* m4/count-leading-zeros.m4 (gl_COUNT_LEADING_ZEROS):
Do not require AC_C_INLINE.
* modules/count-leading-zeros (Files, lib_SOURCES):
Add lib/count-leading-zeros.c.
(Depends-on): Add extern-inline.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 20 Nov 2012 22:25:05 -0800 |
parents | abd788a78228 |
children |
line wrap: on
line source
Description: Counts the number of leading 0-bits in a word. Files: lib/count-leading-zeros.c lib/count-leading-zeros.h m4/count-leading-zeros.m4 Depends-on: extern-inline verify configure.ac: gl_COUNT_LEADING_ZEROS Makefile.am: lib_SOURCES += count-leading-zeros.c Include: "count-leading-zeros.h" License: LGPLv2+ Maintainer: Eric Blake