commit 4f8c91dd5798229d604c16f6f38123d9848430ce parent b50faebb09d96ca56d360452ae4467537c7bf104 Author: Samdal <samdal@protonmail.com> Date: Sat, 22 Feb 2025 09:40:12 +0100 fix typo Diffstat:
M | _posts/2025-02-22-making-generic-data-structures-in-C.md | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_posts/2025-02-22-making-generic-data-structures-in-C.md b/_posts/2025-02-22-making-generic-data-structures-in-C.md @@ -14,7 +14,7 @@ I don't always agree that creating and using generics is a good idea, but I do u ## How it's normally done in C -Usually C programmers just use `void*` and then wrap functoins around the operations. +Usually C programmers just use `void*` and then wrap functions around the operations. This has many issues, mainly that it is hard to work with. It also has no type safety. > Note that in cases where you don't need type safety or easy top-level operations, `void*` may be an excellent tool.