summaryrefslogtreecommitdiff
path: root/zap/src/memdup.c
AgeCommit message (Collapse)Author
2022-07-28Remove type specifier from version macro; Add mathematical functions abs and ↵Gabriel Jensen
fma; Update documentation; Remove nothrw attribute from foreach; Remove UB from foreach test; Fix parameter mismatch in foreach test; Use unsigned char instead of uint_least8_t; Remove unnecessary casts; Add new headers: 'zap/math.h' (for mathematical functions), 'zap/mem.h' (for memory sequence functions); Restructure makefile; Fix not using INT_LEAST8_MAX and INT_LEAST8_MIN instead of INT8_MAX and INT8_MIN; Remove '/build' from gitignore;
2022-07-11memdup: Use sus_unlikely instead of __builtin_expect; Rename project to zap ↵Gabriel Jensen
(from rgo); Remove global license file (useless with MPL); Migrate test to C++ (for reasons which will be revealed later); Restructure headers; Add include guards to the private header; Add attribute useret to functions; Require GNU Make; Compile position independent code; Update readme;