Changes in 4.42 (cont):
New functions.
dt_fp_range(dt_Integer *slen, dt_Handle fp, dt_Integer offset, dt_Integer
nbits, dt_Integer *soffset) => dt_String str
-
Returns a range of bit values from the fingerprint. The range returned starts
at bit number 'offset', for 'nbits' bits.
-
The bit values are returned in a string of length 'slen'. The returned value
'soffset' is the bit offset in the string where the returned bits begin.
dt_fp_setrange(dt_Handle fp, dt_Integer offset, dt_Integer nbits, dt_Integer
slen, dt_String str, dt_Integer soffset, dt_Integer operation) => dt_Integer
nset
-
Sets a range of bits in a fingerprint, starting at bit-number 'offset', for
'nbits' with the bits from the given string, starting 'soffset' bits from the
beginning of the string.
-
The function returns the number of bits actually set.
-
The allowed bitwise operations are as follows:
-
DX_FP_SET - Sets the bit to the given value
-
DX_FP_NOT - Sets the bit to the inverse of the given value
-
DX_FP_OR - Sets the bit to the 'OR' of the current value with the given value
-
DX_FP_XOR - Sets the bit to the 'XOR' of the current value with the given value
-
DX_FP_AND - Sets the bit to the 'AND' of the current value with the given value