libosmocore.git branch master updated. 0.9.0-50-g5f349be

gitosis at osmocom.org gitosis at osmocom.org
Fri Jan 15 13:55:38 UTC 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, master has been updated
       via  5f349be820b32a5bb312566a4a35ef679fe7e478 (commit)
      from  8114294bf29ac6e44822c0ae43d4b0819f11b022 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=5f349be820b32a5bb312566a4a35ef679fe7e478

commit 5f349be820b32a5bb312566a4a35ef679fe7e478
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon Dec 21 16:04:03 2015 +0100

    bitvec: Add get/set byte sequences
    
    The new functions bitvec_get_bytes and bitvec_set_bytes copy
    byte sequences from bitvecs to uint8_t arrays and vice versa.
    While the bytes in the bitvecs do not need to be aligned, the uint8_t
    arrays always are. In case the bytes in the bitvec are aligned, the
    implementation uses memcpy.
    
    Note that the implementation like the other existing functions assume
    MSB first encoding.
    
    [hfreyther: Squash the comment fix into this commit as well]
    
    Sponsored-by: On-Waves ehf

-----------------------------------------------------------------------

Summary of changes:
 include/osmocom/core/bitvec.h | 10 ++++++
 src/bitvec.c                  | 75 +++++++++++++++++++++++++++++++++++++++++++
 tests/Makefile.am             |  9 ++++--
 tests/bitvec/bitvec_test.c    | 62 +++++++++++++++++++++++++++++++++++
 tests/bitvec/bitvec_test.ok   |  2 ++
 tests/testsuite.at            |  6 ++++
 6 files changed, 162 insertions(+), 2 deletions(-)
 create mode 100644 tests/bitvec/bitvec_test.c
 create mode 100644 tests/bitvec/bitvec_test.ok


hooks/post-receive
-- 
An utility library for Open Source Mobile Communications



More information about the osmocom-commitlog mailing list