aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/notes/2024-06-19-embedding-resources-into-binary-with-c.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/content/notes/2024-06-19-embedding-resources-into-binary-with-c.md b/content/notes/2024-06-19-embedding-resources-into-binary-with-c.md
index f552f01..badc9f2 100644
--- a/content/notes/2024-06-19-embedding-resources-into-binary-with-c.md
+++ b/content/notes/2024-06-19-embedding-resources-into-binary-with-c.md
@@ -11,9 +11,8 @@ tags: [c]
11preprocessor has been put into the C23 standard but has not yet been 11preprocessor has been put into the C23 standard but has not yet been
12implemented by the compilers. 12implemented by the compilers.
13 13
14Until then a workaround with 14Until then a workaround with [`xxd`](https://linux.die.net/man/1/xxd) is
15[`xxd`](https://en.cppreference.com/w/c/preprocessor/embed) is possible without 15possible without spending time on rolling out your own.
16spending time on rolling out your own.
17 16
18`xxd` has an option to export to C header file which makes this much easier. 17`xxd` has an option to export to C header file which makes this much easier.
19This works for all files be that text files or binary ones such as images, etc. 18This works for all files be that text files or binary ones such as images, etc.