Patrick Pelissier
|
95f467f4be
|
Fix potential bug in case of ill-formed serialized container.
|
2017-09-16 13:30:09 +02:00 |
|
Patrick Pelissier
|
2e564088b0
|
Simplify the inclusion of headers.
|
2017-09-16 10:14:45 +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
|
6bdcc5860f
|
Fix broken mempool build due to prefix renaming!
|
2017-08-20 09:40:10 +02:00 |
|
Patrick Pelissier
|
44cdfa0c77
|
Remove use of feof and ferror as it is not needed as the return of fgetc
is sufficent.
|
2017-08-19 21:05:55 +02:00 |
|
Patrick Pelissier
|
ffc383884d
|
Add macro M_HASH_FINAL
|
2017-08-17 20:22:01 +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
|
b49e286ae2
|
Remove prefix mempool from mempools.
See commit about shared pointer.
|
2017-07-25 23:03:23 +02:00 |
|
Patrick Pelissier
|
138d3fe4eb
|
Add const to function definition.
|
2017-07-08 12:56:57 +02:00 |
|
Patrick Pelissier
|
76fc919ccb
|
* Rename _slice into _splice.
* Rename _move_back into _splice_back
to uniform the interface.
|
2017-07-05 09:17:11 +02:00 |
|
Patrick Pelissier
|
7e517f35c5
|
Use of M_CONST_CAST for list.
|
2017-05-26 15:44:18 +02:00 |
|
Patrick Pelissier
|
3e62d6c719
|
Export IT_REMOVE operator from array & list
|
2017-05-22 21:23:39 +02:00 |
|
Patrick Pelissier
|
22dbf2bd9d
|
Simplify the writing of the list type and list it type to make reading easier.
|
2017-04-23 10:07:21 +02:00 |
|
Patrick Pelissier
|
c433df06c0
|
Micro-optimisation.
|
2017-04-13 21:14:27 +02:00 |
|
Patrick Pelissier
|
aee837ea37
|
Add option MEMPOOL for list.
|
2017-04-01 13:59:43 +02:00 |
|
Patrick Pelissier
|
ebf24d41cf
|
Export back NEW / DEL / REALLOC of oplist to container oplist
|
2017-03-30 20:57:44 +02:00 |
|
Patrick Pelissier
|
c32f6a9e5b
|
UNLIKLEY some tests.
It should not really help the compiler as it should already be able to deduce there were unlikely.
|
2017-03-26 11:06:17 +02:00 |
|
Patrick Pelissier
|
00f912a504
|
Replace M_MEMORY_ALLOC / M_MEMORY_FREE by M_GET_NEW / M_GET_DEL
It allows a dual layer of overloading for the memory.
|
2017-03-19 22:15:01 +01:00 |
|
Patrick Pelissier
|
7b6dd872c6
|
Export swap operators for array & list
|
2017-03-14 20:23:55 +01:00 |
|
Patrick Pelissier
|
e0648e3002
|
Update comments & rewrite code
|
2017-03-13 23:20:12 +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
|
eaf3af8c07
|
Implement IT_END operator.
Add missing IT_LAST operator
|
2017-03-13 10:32:57 +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
|
58422b8445
|
Remove unused types.
|
2017-03-06 22:12:49 +01:00 |
|
Patrick Pelissier
|
ddbc001415
|
Add HASH functions for array & list
|
2017-02-21 21:57:28 +01:00 |
|
Patrick Pelissier
|
4d019ca1f2
|
Update library name in headers.
|
2017-02-20 21:29:21 +01:00 |
|
Patrick Pelissier
|
cb433aa2a8
|
Rename macros:
* CAT* --> M_C*
|
2017-02-19 00:36:42 +01:00 |
|
Patrick Pelissier
|
8e9d20ba1a
|
Add initial stuff
|
2017-02-18 18:51:04 +01:00 |
|