Patrick Pelissier
ab99035291
Add another example
2020-04-20 23:50:05 +02:00
Patrick Pelissier
c5238e0a4c
Add new example for algorithm
2020-04-01 23:40:16 +02:00
Patrick Pelissier
370cdb4e45
Add another example.
2020-03-28 13:05:15 +01:00
Patrick Pelissier
342954f272
Fix introduced build error for Mingw
2020-03-25 11:56:38 +01:00
Patrick Pelissier
785792d1f4
Allow build of examples in C11 mode
2020-03-25 11:17:06 +01:00
Patrick Pelissier
9affe3106c
Add example of ALGO_FOR_EACH and ALGO_REDUCE
2020-03-25 11:16:19 +01:00
Patrick Pelissier
f15203afb2
Comment a little bit more the examples
2020-02-10 06:47:24 +01:00
Patrick Pelissier
aeb2a47952
Add comments to example
2019-12-30 13:44:03 +01:00
Patrick Pelissier
142c224f84
Add another example on complex structure usage
2019-12-15 19:53:46 +01:00
Patrick Pelissier
f207f9441c
Remove linker warning for examples
2019-11-30 00:33:53 +01:00
Patrick Pelissier
dde090d4b0
Make GMP optional for the examples
2019-11-24 08:34:39 +01:00
Patrick Pelissier
d31ccfe8a4
Simplify example code
2019-08-11 10:43:35 +02:00
Patrick Pelissier
c4ab76a330
More examples
2019-08-09 08:14:12 +02:00
Patrick Pelissier
84d4277be3
Add new example with basic types usage
2019-08-08 22:23:06 +02:00
Patrick Pelissier
fe5df08d6e
Update comments
2019-07-20 09:32:09 +02:00
Patrick Pelissier
b422aec2cd
Add new example
2019-06-25 07:04:33 +02:00
Patrick Pelissier
7ba0e03b4f
Add comments
2019-06-20 21:36:12 +02:00
Patrick Pelissier
9e5775fc16
Add example of serialization
2019-06-06 07:44:33 +02:00
Patrick Pelissier
958a79ad73
Add another example
2019-03-07 19:25:39 +01:00
Patrick Pelissier
5ecf4f37c0
Change deprecated functions.
2018-10-29 11:06:29 +01:00
Patrick Pelissier
13f3dab23a
Update with more examples.
2018-10-27 11:12:55 +02:00
Patrick Pelissier
1047d842d0
Add OPLIST for buffer & an example. Still a WIP for the constness of the BUFFER source.
2018-10-26 23:30:04 +02:00
Patrick Pelissier
a7d8ff208f
Fix.
2018-09-15 19:42:54 +02:00
Patrick Pelissier
1046f3e220
Add more structure in example.
2018-09-15 19:38:18 +02:00
Patrick Pelissier
6a1b2a3964
Add new example.
2018-09-15 15:46:22 +02:00
Patrick Pelissier
e95d13adb1
Add support for multiple M_LET on the same line
...
without warning about shadow variables.
2018-08-04 08:34:35 +02:00
Patrick Pelissier
001272820c
Update example to latests API.
2018-07-15 23:11:00 +02:00
Patrick Pelissier
95dbbf6e75
Simplification of the example.
2018-07-15 02:53:35 +02:00
Patrick Pelissier
9d7fc942f7
Rename DICT_SET_DEF2 into DICT_SET_DEF
2018-07-03 15:50:14 +02:00
Patrick Pelissier
982d8cf19d
DICT_*_DEF* doesn't require anymore oplists for defining the function:
...
it can get them from global oplists or default oplits.
2018-07-03 15:44:40 +02:00
Patrick Pelissier
aae460623d
Replace _set_at by _push
2018-07-03 15:07:36 +02:00
Patrick Pelissier
d1f2b62f66
Replace _set_at2 by _get_at for array.
...
(Break API)
2018-07-01 22:35:05 +02:00
Patrick Pelissier
feb4011f57
Add new example.
2018-06-29 19:41:55 +02:00
Patrick Pelissier
8e042435e5
Update comment and use of a different hash function.
2018-06-23 13:26:46 +02:00
Patrick Pelissier
cddf8712e4
Update comment.
2018-06-23 13:12:28 +02:00
Patrick Pelissier
88fd96e022
Add a more complete example of use.
2018-06-23 13:10:33 +02:00
Patrick Pelissier
3d43bb260a
Update
2018-04-30 13:32:24 +02:00
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