Mercurial > vec
comparison utils/gengeneric.c @ 38:fd42f9b1b95e
docs: update copyright for 2025, update the README with more info
I slightly edited vec.h however to use calloc directly rather
than malloc + memset.
author | Paper <paper@tflc.us> |
---|---|
date | Sat, 26 Apr 2025 02:54:44 -0400 |
parents | 4b5a557aa64f |
children | f9ca85d2f14c |
comparison
equal
deleted
inserted
replaced
37:4b5a557aa64f | 38:fd42f9b1b95e |
---|---|
1 /** | 1 /** |
2 * vec - a tiny SIMD vector library in plain C99 | 2 * vec - a tiny SIMD vector library in C99 |
3 * | 3 * |
4 * Copyright (c) 2024 Paper | 4 * Copyright (c) 2024-2025 Paper |
5 * | 5 * |
6 * Permission is hereby granted, free of charge, to any person obtaining a copy | 6 * Permission is hereby granted, free of charge, to any person obtaining a copy |
7 * of this software and associated documentation files (the "Software"), to deal | 7 * of this software and associated documentation files (the "Software"), to deal |
8 * in the Software without restriction, including without limitation the rights | 8 * in the Software without restriction, including without limitation the rights |
9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
35 | 35 |
36 /* XXX: would it be faster to unroll literally everything instead of defining everything, | 36 /* XXX: would it be faster to unroll literally everything instead of defining everything, |
37 * and then unpacking it all? */ | 37 * and then unpacking it all? */ |
38 static const char *header = | 38 static const char *header = |
39 "/**\n" | 39 "/**\n" |
40 " * vec - a tiny SIMD vector library in plain C99\n" | 40 " * vec - a tiny SIMD vector library in C99\n" |
41 " * \n" | 41 " * \n" |
42 " * Copyright (c) 2024 Paper\n" | 42 " * Copyright (c) 2024-2025 Paper\n" |
43 " * \n" | 43 " * \n" |
44 " * Permission is hereby granted, free of charge, to any person obtaining a copy\n" | 44 " * Permission is hereby granted, free of charge, to any person obtaining a copy\n" |
45 " * of this software and associated documentation files (the \"Software\"), to deal\n" | 45 " * of this software and associated documentation files (the \"Software\"), to deal\n" |
46 " * in the Software without restriction, including without limitation the rights\n" | 46 " * in the Software without restriction, including without limitation the rights\n" |
47 " * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n" | 47 " * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n" |