80 Commits

Author SHA1 Message Date
tilz0R
2cfe1bde50 Add missing lwmem_sys include file 2019-06-16 22:36:58 +02:00
tilz0R
29f7864be6 Add protection to the library for operating system 2019-06-16 15:58:46 +02:00
tilz0R
ad951a18bb Update default config template 2019-06-10 13:11:12 +02:00
tilz0R
3814d4c874 Add check for regions and length inputs 2019-06-10 11:44:25 +02:00
tilz0R
66d85632c4 Prepare code for thread-safe support 2019-06-10 02:43:37 +02:00
tilz0R
9e361aed52 Prepare code for thread-safe implementation 2019-06-09 10:42:19 +02:00
tilz0R
49db26865e Add == 0, > 0 for all integer variables holding non-bold value 2019-06-07 00:16:50 +02:00
tilz0R
9c67fb9b5f Remove == 0 or != 0 or > 0 checks 2019-06-05 08:14:48 +02:00
tilz0R
1e35edeb6b Compare constant against variable 2019-06-03 20:14:13 +02:00
tilz0R
75aa52d277 When comparing var against constant, compare constant against variable 2019-06-03 06:32:14 +02:00
tilz0R
911a38b160 Add description for casting macro 2019-05-29 22:35:20 +02:00
tilz0R
50da788391 Fix warning for 64-bit systems 2019-05-29 22:34:11 +02:00
tilz0R
27647680f6 Merge branch 'master' of https://github.com/MaJerle/lwmem 2019-05-26 19:42:30 +02:00
tilz0R
6306561425 Remove empty space 2019-05-26 19:42:16 +02:00
tilz0R
2ea8fea636 Revert "Add travis file"
This reverts commit 29f2ebbed1e4049d1976f715f42031108101d06f.
2019-05-22 10:19:14 +02:00
tilz0R
29f2ebbed1 Add travis file 2019-05-22 10:13:20 +02:00
tilz0R
52874543aa Add memory allocated bit as macro. It should be evaluated on compiler side. 2019-05-04 22:47:07 +02:00
tilz0R
4dc9c21b06 Add safe realloc function 2019-05-03 00:33:00 +02:00
tilz0R
e10552e750 Add macro for casting, make variable names more natural 2019-04-30 15:07:26 +02:00
tilz0R
775a2ba28a Set start block as prevprev first. 2019-04-29 21:29:11 +02:00
tilz0R
e624ff0191 Optimizations for reallocation 2019-04-27 04:20:19 +02:00
tilz0R
2c9c3652f9 Add more comments to the code 2019-04-25 16:06:10 +02:00
tilz0R
bf29c951a0 Add optimized realloc, add safe free function 2019-04-22 23:17:44 +02:00
tilz0R
52c9330c08 Fix inconsistency between function call syntax 2019-04-22 12:51:01 +02:00
tilz0R
3ea8841aa9 Rename library to Lightweight memory manager 2019-04-22 12:25:43 +02:00
tilz0R
5280210cf5 Use unsigned char instead of uint8_t and remove all stdint dependancies 2019-04-22 11:37:32 +02:00
tilz0R
3832d3616f Fix bug with size 2019-04-21 22:07:19 +02:00
tilz0R
ce25beb13b Add const keyword to all constant values to make lib omre robust 2019-04-21 21:51:23 +02:00
tilz0R
c87668fb4b Add dynamic memory first commit 2019-04-21 01:34:12 +02:00
Tilen Majerle
7712eeda9d
Initial commit 2019-04-20 18:01:27 +02:00