e95d13adb1
Add support for multiple M_LET on the same line without warning about shadow variables.
Patrick Pelissier2018-08-04 08:34:35 +02:00
92d7009804
Fis issue if given type is a T * = TYPE: token pasting created const T *, which is not the same as const TYPE = T * const
Patrick Pelissier2018-08-03 20:35:37 +02:00
354327e40b
Fix issue for string_strim if string was empty and not allocated.
Patrick Pelissier2018-08-03 20:23:24 +02:00
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
Patrick Pelissier2018-08-03 20:20:57 +02:00
68c737dcef
Clean up interface if (internal) genint: it returns at most an 2048, so an unsigned int is more enought (and internally it was already used!). So transform the interface to take as input unsigned int.
Patrick Pelissier2018-08-02 23:19:05 +02:00
b8f8ffe0a2
Perform same optimization than previous commit for M_GLOBAL_OPLIST_OR_DEF
Patrick Pelissier2018-08-02 22:48:28 +02:00
02e8681f76
M_GLOBAL_OPLIST: More robust implementation that delays the evaluation of the concatenation
Patrick Pelissier2018-08-02 20:02:15 +02:00
603fb9db62
Replace some size displayed with '%lu' as unsigned long with proper '%zu' as size_t.
Patrick Pelissier2018-08-02 19:34:10 +02:00
660c5a2db4
Add M_GET_STRING to transform a standard numerical C type into a string_t (with a method compatible with the operator GET_STR).
Patrick Pelissier2018-08-01 23:26:58 +02:00
8a4d013354
Fix issues (normal contract where used for I/O whereas they could be used with OA Dict)
Patrick Pelissier2018-08-01 22:55:54 +02:00
166d408f5e
Add support for out_str for the default C types if C11 is enabled.
Patrick Pelissier2018-08-01 20:12:24 +02:00
017f25d9d5
M_PRINT_ARG & M_FPRINT_ARG don't put a final semicolon at the end of their expansion anymore (cleaner and no longer needed with the new available tools).
Patrick Pelissier2018-08-01 19:59:57 +02:00
b6a3387f8a
User are able to customize the number of elements of a mempool globaly.
Patrick Pelissier2018-07-30 22:02:46 +02:00
04dd708941
Delayed the inclusion of the common headers, so that the backend may properly set up additional parameters for the headers.
Patrick Pelissier2018-07-29 19:40:37 +02:00
39ffe1c95a
Fix issue for 32 bits build due to previous modification of limb size to 64 bits.
Patrick Pelissier2018-07-29 19:40:08 +02:00
7b5ae3c15b
Update API so that the worker_t parameter is given on creating the sync bloc. (API breakage), more RAII like.
Patrick Pelissier2018-07-28 19:09:07 +02:00
7678625071
Review: * add comments * change error code from assertion to proper memory failure * add new assertions
Patrick Pelissier2018-07-28 13:48:30 +02:00
16e86b8291
Don't regenerate depend.png everytime but only if the headers have been updated. Optimize the generation of the PNG.
Patrick Pelissier2018-07-18 22:34:52 +02:00
6bdd47a557
Don't remove depend with a make clean otherwise you'll get a regeneration of the dependency file for each clean command which is useless. make distclean shall be used to remove the dependency file.
Patrick Pelissier2018-07-18 22:28:19 +02:00
18be930507
Fix bug in case of error returned by vsnprintf: the buffer may have been corrupted in case of error. Clean it before returning.
Patrick Pelissier2018-07-18 21:41:52 +02:00
540e01f1fe
Fix prototype of the callback to InitOnceExecuteOnce: Missing CALLBACK. (Some version of the compilers for windows produced warnings)
Patrick Pelissier2018-07-18 21:21:35 +02:00
b2f005239b
API breakage: rename _constains into _contain_p to be more uniform with other predicate functions, and to use infinitive form for the method.
Patrick Pelissier2018-07-15 10:54:38 +02:00
982d8cf19d
DICT_*_DEF* doesn't require anymore oplists for defining the function: it can get them from global oplists or default oplits.
Patrick Pelissier2018-07-03 15:44:40 +02:00