Commit Graph
154 Commits
Author SHA1 Message Date
Patrick Pelissier f653676511 Add SWAP for tuple 2017-03-14 21:44:21 +01:00
Patrick Pelissier ebe1b06813 FIXME: Does method SWAP is needed for SNAPHOT ? 2017-03-14 21:44:02 +01:00
Patrick Pelissier 7118da65ae Add SWAP for m-shared 2017-03-14 21:43:52 +01:00
Patrick Pelissier 29d3439900 Add SWAP for string 2017-03-14 21:31:47 +01:00
Patrick Pelissier c5bc77b801 Rename type into name for oplist description of dict (saner) 2017-03-14 21:27:12 +01:00
Patrick Pelissier 75c07d9ac7 Add _swap for dict 2017-03-14 21:25:34 +01:00
Patrick Pelissier dc87d7e137 Add M_SWAP macro. 2017-03-14 21:20:52 +01:00
Patrick Pelissier 3265c9fb4d Add _swap for RBTREE 2017-03-14 20:40:04 +01:00
Patrick Pelissier 8b327c4eaa Renable test due to M_EACH handling the case of having only _cref operator. 2017-03-14 20:28:38 +01:00
Patrick Pelissier 047a3ac9c1 Add bitset_swap & export it. 2017-03-14 20:27:45 +01:00
Patrick Pelissier 7b6dd872c6 Export swap operators for array & list 2017-03-14 20:23:55 +01:00
Patrick Pelissier 6cdad58bd6 Add SWAP as operator. 2017-03-14 20:21:14 +01:00
Patrick Pelissier ecf5547c1e Rename _swap into _swap_at
Add _swap function.
2017-03-14 20:16:38 +01:00
Patrick Pelissier e0648e3002 Update comments & rewrite code 2017-03-13 23:20:12 +01:00
Patrick Pelissier eda7c58594 Update comments & assert 2017-03-13 23:19:53 +01:00
Patrick Pelissier 9c7fcc6659 Reformat comment 2017-03-13 23:19:20 +01:00
Patrick Pelissier 35df7feae0 Update comments.
Fix bug for UPDATE operator
2017-03-13 12:32:56 +01:00
Patrick Pelissier a195bf000f Clean the use of the UPDATE operator.
It may not be defined.
2017-03-13 12:32:25 +01:00
Patrick Pelissier 8dd7ba113a Add FIXME 2017-03-13 12:32:11 +01:00
Patrick Pelissier 42cdba59ca Document M_LOCK 2017-03-13 11:41:47 +01:00
Patrick Pelissier 40f2c9dd41 Fix bug :
* due to the huge number of new operator within oplist, the previous limit of 26
 operators wasn't enought. Increase it to 52.
2017-03-13 11:21:13 +01:00
Patrick Pelissier 13098cb78d Fix bug for HASH function:
* it was not properly exported,
 * its prototype wasn't fine.
2017-03-13 11:20:34 +01:00
Patrick Pelissier 34a1b4533b Write find_last algo. 2017-03-13 10:33:39 +01:00
Patrick Pelissier 9d7bfe2d40 Document IT_END 2017-03-13 10:33:31 +01:00
Patrick Pelissier eaf3af8c07 Implement IT_END operator.
Add missing IT_LAST operator
2017-03-13 10:32:57 +01:00
Patrick Pelissier c09ce9c949 Add IT_END operator 2017-03-13 10:32:27 +01:00
Patrick Pelissier 30e3018317 Add new test for mutex. 2017-03-12 18:58:25 +01:00
Patrick Pelissier 41aa717782 Proper use of exit to terminate a test. 2017-03-12 18:56:03 +01:00
Patrick Pelissier 2c759641a2 Add macro M_LOCK allowing intuitive encapsulation for lock. 2017-03-12 18:48:56 +01:00
Patrick Pelissier d4bc5593fa Add forgotten header 2017-03-12 18:22:24 +01:00
Patrick Pelissier 2285d46d7c Improve examples. 2017-03-11 17:30:48 +01:00
Patrick Pelissier 3a9eeaa934 Fix bug of dual initialization when using M_LET macro. 2017-03-11 17:30:20 +01:00
Patrick Pelissier 67e625090b Add new test 2017-03-11 17:28:09 +01:00
Patrick Pelissier 686cb7de8a Update example 2017-03-11 16:50:36 +01:00
Patrick Pelissier 52724eaa10 Add classic type to M_CLASSIC_OPLIST 2017-03-11 16:50:24 +01:00
Patrick Pelissier 3cb2fa118f Add missing library for test 2017-03-11 12:30:47 +01:00
Patrick Pelissier 5a105f49bd Add new example which show a complete integration of multiple containers. 2017-03-11 12:29:49 +01:00
Patrick Pelissier 32996f2224 Add 'mover' operation. 2017-03-11 12:29:25 +01:00
Patrick Pelissier 72ba5cbd3d Fix bug:
give the proper oplist to the array definition;
 otherwise some oplists are defined in default.
2017-03-11 12:07:01 +01:00
Patrick Pelissier 3e316da6cf Fix bug in variant oplist 2017-03-11 11:57:41 +01:00
Patrick Pelissier fb1b2705d0 Fix bug in exported oplist 2017-03-11 11:52:54 +01:00
Patrick Pelissier 5f67da4914 Add M_CLASSIC_OPLIST macro 2017-03-11 11:44:34 +01:00
Patrick Pelissier a0f188d213 Remove copyright notices from examples. 2017-03-11 11:34:18 +01:00
Patrick Pelissier db2457792d Add note 2017-03-11 11:31:59 +01:00
Patrick Pelissier 3c26dbbcb9 Fix spelling 2017-03-11 11:31:37 +01:00
Patrick Pelissier 5342302b49 Add new library with perform generic collection for C. 2017-03-10 01:57:13 +01:00
Patrick Pelissier ca7a821da9 Improve performance of comparison of RB-TREE. 2017-03-10 01:38:35 +01:00
Patrick Pelissier 046e79c267 Fix comment 2017-03-10 01:31:20 +01:00
Patrick Pelissier e21b45d9ac Fix #3 (Empty containers & IN_STR operator). 2017-03-10 01:29:49 +01:00
Patrick Pelissier 6464acff57 Handle a little bit better the empty container case. 2017-03-10 00:08:28 +01:00