Patrick Pelissier
|
8b3a4a802c
|
Happy new year!
|
2019-01-02 18:12:07 +01:00 |
|
Patrick Pelissier
|
02d4bf0e09
|
Export method _empty_p for operator TEST_EMPTY for all containers.
|
2018-10-29 11:06:54 +01:00 |
|
Patrick Pelissier
|
6b5434d64f
|
Fix regression:
even if there is no INIT method for the base type,
the container still defines a INIT method.
|
2018-10-21 22:27:52 +02:00 |
|
Patrick Pelissier
|
2b6a266b93
|
Optimize _pop_back for dual push list.
|
2018-09-22 11:58:22 +02:00 |
|
Patrick Pelissier
|
a1c3681002
|
Optimization of _init_set for list.
|
2018-09-22 11:37:23 +02:00 |
|
Patrick Pelissier
|
e0c456490a
|
Fix definition of oplist for containers:
if no argument is given, it shall behave as if it was defined with
a standard C type.
|
2018-09-15 17:59:50 +02:00 |
|
Patrick Pelissier
|
2e3b312fab
|
Fix issue of recursive usage of M_GLOBAL_OPLIST_OR_DEF
Update the way to use the macro to avoid being limited by the
preprocessor limitation.
|
2018-09-14 20:57:55 +02:00 |
|
Patrick Pelissier
|
bb8de993b6
|
Start porting to M_CALL infrastructure, enabling support for
API transformation.
|
2018-09-08 22:49:12 +02:00 |
|
Patrick Pelissier
|
5eb5d2420e
|
Make INIT method optional for oplists.
|
2018-09-08 08:57:02 +02:00 |
|
Patrick Pelissier
|
2174c28aa2
|
Make INIT operator optionnal for ARRAY & LIST.
|
2018-09-08 08:21:13 +02:00 |
|
Patrick Pelissier
|
822c27399c
|
Add M_INIT_VAI to initialize a container with a VA.
(pretty much like it was done for ALGO).
Use if for array & list so that you can init them in M_LET
by giving it a VA.
|
2018-09-01 21:12:02 +02:00 |
|
Patrick Pelissier
|
0fa7aed1c4
|
Add missing synonim
|
2018-08-19 20:07:58 +02:00 |
|
Patrick Pelissier
|
3b0e940284
|
Add missing _ptr & _srcptr alias.
|
2018-08-19 17:58:23 +02:00 |
|
Patrick Pelissier
|
df8306c721
|
Export IT_INSERT method
|
2018-08-08 22:43:44 +02:00 |
|
Patrick Pelissier
|
143a5fdf4f
|
Fix issue if given type is a T * = TYPE:
token pasting created const T *, which is not the same as
const TYPE = T * const
|
2018-08-03 20:20:57 +02:00 |
|
Patrick Pelissier
|
96202aa78f
|
Do not use reserved identifiers of the C standard (See 7.1.3 Reserved identifiers)
|
2018-07-14 14:35:14 +02:00 |
|
Patrick Pelissier
|
e5be1e1f05
|
Add a name to the structure.
|
2018-06-27 20:10:28 +02:00 |
|
Patrick Pelissier
|
74350f3638
|
Reuse a local variable instead of reading once again from memory.
|
2018-05-28 23:45:40 +02:00 |
|
Patrick Pelissier
|
ee2c7caac2
|
Update _splice_at with new specification.
Fix issue of _splice_at (iterator not properly set).
Export _split_at methods in oplist.
|
2018-05-28 23:44:15 +02:00 |
|
Patrick Pelissier
|
e5f5563249
|
Add method _splice_at for dual_push_list
|
2018-05-28 21:58:45 +02:00 |
|
Patrick Pelissier
|
2a6893efb4
|
Add method _splice_at for singly list.
|
2018-05-28 21:22:14 +02:00 |
|
Patrick Pelissier
|
9fd920945a
|
Remove condition that the list shall be different for splice_back.
No need.
|
2018-05-28 20:59:27 +02:00 |
|
Patrick Pelissier
|
a116daa7a1
|
Splice_back may work if old & new are the same list.
|
2018-05-28 20:58:51 +02:00 |
|
Patrick Pelissier
|
0b8759380b
|
Fix name of called method to avoid infinite recursion...
|
2018-05-27 11:17:11 +02:00 |
|
Patrick Pelissier
|
00c5e3544f
|
Export _splice_back methods.
Add _push_move & _pop_move methods for dual push list.
|
2018-05-27 11:16:16 +02:00 |
|
Patrick Pelissier
|
53a79e3170
|
Export splice_back method for list
|
2018-05-27 11:06:35 +02:00 |
|
Patrick Pelissier
|
86083e3a92
|
Add methods push_move & pop_move.
Rewrite _pop_back to be a little bit faster for complex structure as it used
DO_MOVE instead of plain _set.
|
2018-05-19 11:21:18 +02:00 |
|
Patrick Pelissier
|
3a09efde91
|
Skip spaces in serialisation.
|
2018-05-03 17:22:50 +02:00 |
|
Patrick Pelissier
|
4efa8c1ef9
|
Add function _parse_str for list.
|
2018-05-03 17:14:10 +02:00 |
|
Patrick Pelissier
|
b05b515f3d
|
Reformat
|
2018-04-15 20:58:52 +02:00 |
|
Patrick Pelissier
|
171402f99f
|
Fix bug
|
2018-02-25 11:52:21 +01:00 |
|
Patrick Pelissier
|
fd885bdb19
|
Rewrite a little bit singly linked list
to be up-to-date with standards of other containers.
|
2018-02-25 11:24:44 +01:00 |
|
Patrick Pelissier
|
44d8363292
|
Fix issue with assertion
|
2018-02-24 20:26:19 +01:00 |
|
Patrick Pelissier
|
6ec277ec99
|
Add dual push singly linked list
|
2018-02-24 15:07:58 +01:00 |
|
Patrick Pelissier
|
e2b00d7c73
|
Split function definitions into separate macro
|
2018-02-21 22:16:55 +01:00 |
|
Patrick Pelissier
|
2b4de98aee
|
Update comment
|
2018-02-17 17:35:07 +01:00 |
|
Patrick Pelissier
|
210e05f7fc
|
Update copyright to 2018
|
2018-01-29 20:28:30 +01:00 |
|
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 |
|