bc0743a72b
add __assume__ macro definition in atrb.h
2025-12-15 12:32:34 +01:00
8bb8671fb0
rephrase the header a little, to not be confusing when a file is copy-pasted.
2025-11-13 22:29:41 +01:00
8d0e825157
rewrite copyright file header to provide more information about where the file is from.
2025-11-13 22:24:09 +01:00
0baadfca75
update copyright information in all files
...
the comment was using single-line comments, I prefer multi-line comments
now.
This bothered me for much too long.
2025-08-29 09:36:55 +02:00
4fa0a84c94
fix attributes with parameters to be less messy due to vardiac arguments
2025-08-23 23:01:01 +02:00
bdf4d7b22b
remove atrb_* macros for the attributes, and replace with single-word, all uppercase versions.
...
improves briefity, and reduces confusion.
2025-08-08 12:30:59 +02:00
ff7598a7e3
rework attributes to be a bit safer and more logical.
...
we are targeting GNU extensions, GNU attributes are a part of that.
added aliases for the new attribute names (name as all caps = shorter
due to `atrb_` prefix)
The aliases are likely to be removed in a later commit
2025-07-31 11:27:57 +02:00
8964a1a563
fix: atrb for when _MSC_VER is defined did not have parameters
2025-07-24 16:29:03 +02:00
5e6d7d22e0
use my atrb header, since it's more platform-agnostic
2025-06-12 10:51:00 +02:00
cad49f2912
rework attribute definitions in atrb.h
2025-06-12 10:50:07 +02:00
fc2cbd9924
switch from c17 to gnu99
...
I am choosing gnu99 over c99, since I am planning to use GNU extensions,
like bswap. (in a future commit)
Why I choose c99 over c17, is because this'll produce more portable
code.
c99 does not implement noreturn.h, thus I added it to the compiler
attributes header.
2025-06-02 12:41:01 +02:00
42646baa1a
don't indent post-processes directives
2025-06-02 12:41:01 +02:00
Quinn
cf1759a5c3
License under MIT
...
added the MIT licence and provided the relevant information in the
different source files.
2025-06-02 12:41:00 +02:00
Quinn
40720a53c8
write attributes in a header for ease of use
...
this handles different compilers automatically and just provides a
common method of using the attributes. Plus, it's less characters!
2025-05-01 16:48:43 +02:00