Patrick Pelissier
3be27aefa3
Fix the format for size_t
2018-04-19 22:13:27 +02:00
Patrick Pelissier
d19ec5bf49
Fix format of _size
2018-03-21 20:11:31 +01:00
Patrick Pelissier
38fe24085f
Improve comments.
2018-01-05 23:26:27 +01:00
Patrick Pelissier
af3d5cb273
Proper semantic
2018-01-05 20:46:28 +01:00
Patrick Pelissier
602cc63c96
Update assert
2017-12-24 22:36:34 +01:00
Patrick Pelissier
691653c13e
Remove some unused interface.
2017-12-24 22:30:07 +01:00
Patrick Pelissier
6e88c54244
Simplify the interface
2017-12-24 22:29:32 +01:00
Patrick Pelissier
840d5122b5
Move to lower case for booleans
2017-12-24 22:24:07 +01:00
Patrick Pelissier
4b37ab93b7
Add some comments to better explain the source.
2017-12-23 00:03:34 +01:00
Patrick Pelissier
8914d336a0
dict_ref & dict_cref returns a pointer to struct pair_s instead of pair_t (which
...
is an array of struct pair_s).
This will break API compatibility. However:
it makes the user code cleaner as a level of indirection is removed.
it uniformizes with the OA dict version
2017-10-18 23:25:39 +02:00
Patrick Pelissier
81dbe7dd2e
Renaming of the variables used for the example.
2017-10-02 07:49:54 +02:00
Patrick Pelissier
11e0d1618a
Simplify the Makefile and make it compatible with parallel invocation.
2017-09-25 23:05:01 +02:00
Patrick Pelissier
1930bdeac1
_DEF macros checks if a global oplist is register if there is no one
...
given in the macro call. If it founds one, it will be it instead
of M_DEFAULT_OPLIST.
2017-09-16 08:31:22 +02:00
Patrick Pelissier
d7c4ca1de5
Add support for global oplist.
...
Global oplists are global macro defined as M_OPL_##type
Add support of global oplist for macro M_EACH & M_LET.
Partial fix #9
2017-09-10 10:04:39 +02:00
Patrick Pelissier
76b4e15bb0
Fix issue with printf formatting.
2017-08-11 19:56:24 +02:00
Patrick Pelissier
010f397349
Rename string_get_length into string_size
...
<== Uniformisation with the other containers.
2017-08-09 23:44:27 +02:00
Patrick Pelissier
80c273e6e2
Remove dict_ prefix for dictionnary.
...
See commit on shared-pointer.
2017-07-29 13:01:38 +02:00
Patrick Pelissier
34943e5b2a
Remove array_ prefix from ARRAY_DEF
...
See commit on shared pointers.
2017-07-27 22:16:15 +02:00
Patrick Pelissier
4cb92a92b8
Remove list_ prefix from all lists.
...
See commit on shared-pointers.
Rename the iteration type to be prefix by name list_it_name_t ==> name_it_t
2017-07-27 21:40:35 +02:00
Patrick Pelissier
7d2848e16a
Remove rbtree_prefix from Red Black Tree.
...
(See commit on shared-pointer).
Rename rbntree_name_it_t into name_it_t.
Update tests, documentation, bench in accordance.
2017-07-26 22:56:25 +02:00
Patrick Pelissier
a69c67e850
Remove buffer prefix from buffers.
...
See commit on shared pointer.
2017-07-25 22:52:19 +02:00
Patrick Pelissier
e8c952def8
Remove prefix shared_ from all definition of the functions / types of shared pointer.
...
This make the name shorter, give the user full control over the prefix,
give the user full power over the name,
allow more flexibility over the kind of container (allowing switch quickly),
and uniformize with variant_, tuple_ & algo_.
This is better than the current situation and all containers will switch.
==> Break API compatibility:
To fix this quickly, just add shared_ before the name into the
macro SHARED_PTR_DEF & SHARED_OPLIST.
This will generate the same name than before.
2017-07-25 22:19:08 +02:00
Patrick Pelissier
1abf575c1c
Update example with new constraints on map/reduce prototype.
2017-07-16 11:32:08 +02:00
Patrick Pelissier
ec4c12eab5
Update comments.
2017-07-08 12:57:28 +02:00
Patrick Pelissier
172df98c0d
Add new example based on set and word counts.
2017-07-06 11:49:07 +02:00
Patrick Pelissier
75f0c94a59
Add seed example.
2017-07-05 21:58:03 +02:00
Patrick Pelissier
1dbc71c2a2
Update example
2017-07-05 18:04:15 +02:00
Patrick Pelissier
af62fc7f5c
Update example
2017-07-05 17:42:42 +02:00
Patrick Pelissier
c464d62011
Add new example
2017-07-05 16:16:05 +02:00
Patrick Pelissier
515650da65
Rename examples.
2017-05-01 21:06:33 +02:00
Patrick Pelissier
cb10fa9871
Add new example for Red-Black Tree
2017-05-01 19:02:14 +02:00
Patrick Pelissier
9600d3bfd5
Update example
2017-05-01 17:24:07 +02:00
Patrick Pelissier
40873e5224
Update example
2017-05-01 17:23:51 +02:00
Patrick Pelissier
ae972c6cbb
Update
2017-05-01 09:08:50 +02:00
Patrick Pelissier
dcd83d20a3
Cleanup Makefile
2017-05-01 09:08:13 +02:00
Patrick Pelissier
768d41ddb6
New example
2017-04-26 23:47:46 +02:00
Patrick Pelissier
0780361c81
Add new example
2017-03-30 21:29:43 +02:00
Patrick Pelissier
e6b1f7d7b5
Minor warning fixes.
2017-03-30 21:29:30 +02:00
Patrick Pelissier
599dc30b3c
Fix bug in the example.
2017-03-17 22:13:37 +01:00
Patrick Pelissier
56453a518d
Fix issue with windows
...
(Use make check CC="i686-w64-mingw32-gcc -std=c99" VALGRIND=wine)
2017-03-17 22:08:02 +01:00
Patrick Pelissier
0d21ac12bf
Port mutex to use static inline instead of MACRO:
...
* cleaner
* fix bug in existing code detected by the changes.
*** Break API (you need to go to lower case instead of upper case) ***
2017-03-17 22:02:17 +01:00
Patrick Pelissier
5ef15e2a67
Improve example to be more representative.
2017-03-17 20:57:56 +01:00
Patrick Pelissier
500ff2b692
Improve comments.
2017-03-14 22:56:57 +01:00
Patrick Pelissier
2285d46d7c
Improve examples.
2017-03-11 17:30:48 +01:00
Patrick Pelissier
686cb7de8a
Update example
2017-03-11 16:50:36 +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
a0f188d213
Remove copyright notices from examples.
2017-03-11 11:34:18 +01:00
Patrick Pelissier
890486d181
Update examples / adding more comments.
2017-03-05 09:27:22 +01:00
Patrick Pelissier
8e9d20ba1a
Add initial stuff
2017-02-18 18:51:04 +01:00