[ccan] [PATCH v3 0/2] maskn and bitops: new modules
Cody P Schafer
dev at codyps.com
Fri Jul 11 10:53:56 EST 2014
Notes:
- inline use is not compatabile with gnu89 (but is standard c99), ccanlint
complains without "--cflags -std=c99" or similar
- Only worried about 32bit numbers at the moment
Since v2:
- use David Gibson <david AT gibson.dropbear.id.au>'s bit_mask()
- add some omitted words
- split function declarations and definitions into 2 headers
- attach docs to declarations
- slight test extention so we still cover all the code
Since v1:
- configurator tweaks
- use c99+ inline + extern inline
- This causes ccanlint to be unhappy with me
- documentation added
- _info fixes
Cody P Schafer (2):
configurator: add BUILTIN_CTZ*, BUILTIN_FFS, and ICCARM_INTRINSICS
maskn & bitops: add new modules
Makefile-ccan | 2 +
ccan/bitops/LICENSE | 1 +
ccan/bitops/_info | 30 ++++++++++++
ccan/bitops/bitops.c | 8 ++++
ccan/bitops/bitops.h | 64 +++++++++++++++++++++++++
ccan/bitops/builtin.h | 30 ++++++++++++
ccan/bitops/internal.h | 99 +++++++++++++++++++++++++++++++++++++++
ccan/bitops/test/run.c | 35 ++++++++++++++
ccan/maskn/LICENSE | 1 +
ccan/maskn/_info | 44 +++++++++++++++++
ccan/maskn/maskn.c | 36 ++++++++++++++
ccan/maskn/maskn.h | 70 +++++++++++++++++++++++++++
ccan/maskn/test/run.c | 37 +++++++++++++++
tools/configurator/configurator.c | 13 +++++
14 files changed, 470 insertions(+)
create mode 120000 ccan/bitops/LICENSE
create mode 100644 ccan/bitops/_info
create mode 100644 ccan/bitops/bitops.c
create mode 100644 ccan/bitops/bitops.h
create mode 100644 ccan/bitops/builtin.h
create mode 100644 ccan/bitops/internal.h
create mode 100644 ccan/bitops/test/run.c
create mode 120000 ccan/maskn/LICENSE
create mode 100644 ccan/maskn/_info
create mode 100644 ccan/maskn/maskn.c
create mode 100644 ccan/maskn/maskn.h
create mode 100644 ccan/maskn/test/run.c
--
2.0.1
More information about the ccan
mailing list