Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/bitops.h

    r48197c1 r8d2dd7f2  
    5454#define BIT_RANGE_EXTRACT(type, hi, lo, value) \
    5555    (((value) >> (lo)) & BIT_RRANGE(type, (hi) - (lo) + 1))
    56 
    57 /** Insert @a value between bits @a hi .. @a lo. */
    58 #define BIT_RANGE_INSERT(type, hi, lo, value) \
    59     (((value) & BIT_RRANGE(type, (hi) - (lo) + 1)) << (lo))
    6056
    6157/** Return position of first non-zero bit from left (i.e. [log_2(arg)]).
Note: See TracChangeset for help on using the changeset viewer.