Commit Graph

10 Commits

Author SHA1 Message Date
77c88438d4 except: move posix/win32 exceptions to own units 2017-12-18 15:46:52 +11:00
0351313c36 Merge branch 'master' into coord 2017-11-23 17:24:11 +11:00
34788756d2 build: don't use './' as an include prefix
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
a9f8594b26 maths: rename round_to as round_up
this shows more explicitly the rounding policy we're using
2017-08-30 15:39:02 +10:00
7d96d8dd2f m/b/paged: use correct fd for MAP_ANONYMOUS
linux ignores the fd if you pass MAP_ANONYMOUS, but freebsd will return
with an error
2016-05-12 17:42:21 +10:00
ab330cc520 add ref-qualifiers to avoid dangling refs/ptrs 2016-03-17 18:05:28 +11:00
424e6e8701 cast: move types/casts to cast 2015-11-17 16:19:27 +11:00
cd58dc8cc3 maths: rename align as round_to
reduces confusion between pointer align, and number rounding
2015-11-13 13:48:46 +11:00
6561e46018 memory: remove legacy scoped_malloc 2015-11-13 13:48:46 +11:00
32ca27abdf memory: add paged and circular buffers 2015-11-11 16:56:35 +11:00