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
Patrick Pelissier
0483ae7028
Add test for empty array (currently it fails).
2017-03-09 22:35:58 +01:00
Patrick Pelissier
320977e1fa
Fix bug in case of empty array and the type doesn't flush the stream.
2017-03-09 22:35:29 +01:00
Patrick Pelissier
b3239e8391
Simplify code
2017-03-09 22:32:22 +01:00
Patrick Pelissier
e164b3fb44
Add test for OUT_STR / IN_STR & GET_STR for BRTREE
...
Fix bugs
2017-03-09 22:24:34 +01:00
Patrick Pelissier
018e09a4b3
Add IN_STR / OUT_STR & GET_STR for RBTREE
2017-03-09 21:58:16 +01:00
Patrick Pelissier
9db1775db0
Work on coverage
2017-03-09 21:58:08 +01:00
Patrick Pelissier
988b7e03ff
Add bitset_hash operator
2017-03-08 21:31:28 +01:00
Patrick Pelissier
5a9adae6b9
Minor change
2017-03-08 21:31:19 +01:00
Patrick Pelissier
2e814d03ed
Rename string_search_string into string_search
...
Rename string_strcoll_string into string_strcoll
(more coherent API)
Add for C11 a generic encapsulation allowing to
select either the string or the str function.
2017-03-08 21:22:52 +01:00
Patrick Pelissier
6ba2a60fe9
Add HASH & EQUAL methods in the oplist
2017-03-08 21:10:27 +01:00
Patrick Pelissier
61c5539151
Add EQUAL & HASH operators for RBTREE
2017-03-08 21:04:57 +01:00
Patrick Pelissier
1c3bb290dd
Use of encapsulation macros for setting / reading color whenever possible.
2017-03-07 23:10:06 +01:00
Patrick Pelissier
14311272ca
Minor cosmetics change
2017-03-07 22:57:44 +01:00
Patrick Pelissier
6c91c93a6f
Add note
2017-03-07 22:44:34 +01:00
Patrick Pelissier
ac8c712dbb
Modify M_EACH to support container where only IT_CREF is defined
...
(and not IT_REF).
2017-03-07 22:42:47 +01:00
Patrick Pelissier
049ff58566
Add note
2017-03-07 22:42:27 +01:00
Patrick Pelissier
29e01a9e2d
Add oplist for oplist of shared pointer
...
Fix issue in case of memory full of shared_pointer with no throw mechanism.
2017-03-06 22:45:15 +01:00
Patrick Pelissier
ee578a5c44
Add sub oplist for dictionnary oplist
2017-03-06 22:38:10 +01:00
Patrick Pelissier
ea9d624050
Add oplist for i-shared oplist
2017-03-06 22:34:11 +01:00