Patrick Pelissier
279b46b4e2
Fix -Wsign-conversion warnings.
2020-06-13 19:43:38 +02:00
Patrick Pelissier
17950c5fe5
Fix corner cases for string_reserve
2020-06-13 18:57:53 +02:00
Patrick Pelissier
45b94c8abc
Add corner cases for string_reserve
2020-06-13 18:57:39 +02:00
Patrick Pelissier
a98ebd3b20
Fix test.
2020-06-13 18:53:40 +02:00
Patrick Pelissier
cb7cd1ac67
Simplify code
2020-06-13 18:53:28 +02:00
Patrick Pelissier
9a41faf40a
Fix -Wsign-conversion warning for strings.
2020-06-13 18:41:23 +02:00
Patrick Pelissier
8c44362f74
More test case.
2020-06-13 18:41:06 +02:00
Patrick Pelissier
548c0c0c61
Fix -Wsign-conversion warning
2020-06-13 18:37:10 +02:00
Patrick Pelissier
607221f480
Fix expected result due to change in list + INIT_WITH
2020-06-13 18:19:29 +02:00
Patrick Pelissier
160c76361b
Add -Wsign-conversion when checking with clang
2020-06-13 18:15:53 +02:00
Patrick Pelissier
2fadad0c8d
Fix warnings raised by -Wsign-conversion of clang
...
in m-core.h
2020-06-13 18:15:26 +02:00
Patrick Pelissier
4d4973abcc
Fix warning
2020-06-13 17:57:31 +02:00
Patrick Pelissier
f8ae9eb677
Add bench of serialization of integers
2020-06-13 17:38:14 +02:00
Patrick Pelissier
de825203cf
Ignore other temporary files
2020-06-13 17:37:54 +02:00
Patrick Pelissier
4f865176d3
Add bench for serialization.
2020-06-13 17:30:58 +02:00
Patrick Pelissier
cb4b43e2e8
* Add length param for seralization write_string
...
to increase a little bit the performance for big strings.
* Change the format of storing strings for serial-bin.
2020-06-13 17:26:07 +02:00
Patrick Pelissier
89b6e1aac0
Adding serialization for bounded string
2020-06-13 11:30:52 +02:00
Patrick Pelissier
daeaa242b8
Add new types to be used for M_LET:
...
* m_serial_bin_write_t
* m_serial_bin_read_t
2020-06-13 11:21:33 +02:00
Patrick Pelissier
100af17328
Make copyright notice explicit
2020-06-13 10:44:47 +02:00
Patrick Pelissier
7527bfec85
Update comments
2020-06-13 00:17:35 +02:00
Patrick Pelissier
f73d25c92d
Update documentation after renaming
2020-06-12 20:00:20 +02:00
Patrick Pelissier
9080f5d52f
Add basic tests for M_KEEP_ARGS / M_SKIP_ARGS / M_MID_ARGS
2020-06-12 20:00:04 +02:00
Patrick Pelissier
6beb142bbe
Fix conflict with SVID2/XPG mallopt options #53
2020-06-12 19:58:18 +02:00
PpHd
9b8b93288a
Merge pull request #51 from vladipus/patch-1
...
Update README.md
2020-06-12 19:42:51 +02:00
Vladislav Dmitrievich Turbanov
6a2a549ec5
Update README.md
...
Fixed a M_IPTR missing *
2020-06-11 19:46:40 +03:00
Patrick Pelissier
468b7e7a0c
Add bench for CMC
2020-06-10 22:29:59 +02:00
Patrick Pelissier
fd640e9232
Update change of behaviors
2020-06-08 22:58:52 +02:00
Patrick Pelissier
d13d7feae3
Update test as per new behavior
2020-06-08 22:58:41 +02:00
Patrick Pelissier
17f69326e2
Reverse order of a list initialized with M_LET to match the behavior of array
2020-06-08 22:58:30 +02:00
Patrick Pelissier
273fcd51b6
Add bench for rigtorp MPMCQueue
2020-06-06 12:00:52 +02:00
Patrick Pelissier
f4b9185ceb
Update documentation on QUEUE_MPMC
2020-06-06 11:09:55 +02:00
Patrick Pelissier
b722227b39
Update comment
2020-06-05 21:06:06 +02:00
Patrick Pelissier
3d7e2f5c6b
Fix m*lib version
2020-06-05 21:01:11 +02:00
Patrick Pelissier
9369530068
Comments & formating
2020-06-05 20:50:34 +02:00
Patrick Pelissier
4e968c3777
Comment the exponential backoff object.
2020-06-05 20:39:16 +02:00
Patrick Pelissier
9a5302ac19
Rename internal backoff
...
to avoid consummign too much namespace
2020-06-05 20:34:31 +02:00
Patrick Pelissier
8216ef0f7b
Factorization of check of index
...
So that it can be reused for other modules.
2020-06-05 20:30:07 +02:00
Patrick Pelissier
b897027021
Add user customizable ARRAY macro
...
for checking if index is within the allowedd bounds even in release mode
2020-06-05 00:11:22 +02:00
Patrick Pelissier
6095cf8610
Reindent file.
2020-06-04 23:51:17 +02:00
Patrick Pelissier
e917ac5663
Update comments and simplify
2020-06-02 22:57:38 +02:00
Patrick Pelissier
2b44892aad
Add more comments
2020-05-31 00:36:47 +02:00
Patrick Pelissier
294e45c7e1
Add comments
2020-05-31 00:15:46 +02:00
Patrick Pelissier
467acfdd10
Use of M_BOOL_OPLIST
...
to avoid warnings.
2020-05-30 23:45:46 +02:00
Patrick Pelissier
d3823951b5
Add M_BOOL_OPLIST
2020-05-30 23:45:29 +02:00
Patrick Pelissier
cc33079d43
Add comments
2020-05-30 23:38:31 +02:00
Patrick Pelissier
78d0bfb286
Port new error oplist format to all containers.
2020-05-30 18:00:43 +02:00
Patrick Pelissier
b2f5ae6917
Proper generation.
2020-05-30 17:54:58 +02:00
Patrick Pelissier
9c723da768
Change format of errror on oplist
...
This is to enable M_GLOBAL_OPLIST_OR_DEF to properly expand the erroneous oplist to the backend generator, that will report the error.
As such the erreneous oplist is surrounded by two pairs of brackets (())
2020-05-30 17:54:22 +02:00
Patrick Pelissier
70c3932f6e
Add new test on proper error checking
2020-05-30 17:52:31 +02:00
Patrick Pelissier
92bddcaab4
Fix preprocessing issue
...
in case of recursive tuple or variant.
2020-05-30 12:13:43 +02:00