Commit Graph

13 Commits

Author SHA1 Message Date
rdb 9d8c523dfa putil: Assorted improvements to BitArray, SparseArray, *BitMask*:
* Support converting BitMask types to int
* BitArray constructor accepts a Python long of arbitrary size
* DoubleBitMask (and QuadBitMask, by extension) supports Python long in constructor
* Support for pickling (except DoubleBitMask)
* All of them now properly define __bool__()
* More unit tests

Fixes #886
2020-04-01 20:31:16 +02:00
Sam Edwards 7790f8429d general: Fully qualify header references into the std namespace
Closes #341
2018-06-07 10:35:12 +02:00
rdb e60d1e292e Make better use of C++ rules for implicit generation; allow PointerTo and some mutex impls to be static initialised 2017-01-12 12:34:15 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 18ad6d1543 Replace many int params with size_t params where appropriate, and work towards fixing type conversion warnings 2015-10-07 18:58:26 +02:00
David Rose d521ca04fa revert BitMask::operator bool--just a bad idea. 2009-02-11 00:31:34 +00:00
David Rose da684d4f49 operator bool 2009-02-10 23:34:22 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
Zachary Pavlov 220d33e006 okay, this is going to be a big commit. The basic idea here is to add transparent defines to allow for directory based dlls later. This will let us build tau again. ugggg 2007-07-20 23:02:51 +00:00
David Rose 8cfcf69cbe add get_lowest_on_bit(), etc 2007-06-26 19:40:32 +00:00
David Rose a71cd2a689 add get_num_on_bits(), etc. 2007-06-26 19:04:37 +00:00
David Rose e43f4f5c64 fix morphs in character flattening; better support for flattening animated + unanimated 2007-02-16 19:19:19 +00:00
David Rose 9f198514ce add SparseArray 2007-02-15 20:59:08 +00:00