diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-19 19:20:47 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-06-19 19:20:47 +0200 |
| commit | 8e0d8c42e021d098ac3dbb3bfe795d4439d26c29 (patch) | |
| tree | 40c44cf5f2efaae1dea7e7302cedf14928849abd /content/notes | |
| parent | 38379cbbbe7ff3ad391b9bbc47a2ad3a638d6210 (diff) | |
| download | mitjafelicijan.com-8e0d8c42e021d098ac3dbb3bfe795d4439d26c29.tar.gz | |
Fixed link in note
Diffstat (limited to 'content/notes')
| -rw-r--r-- | content/notes/2024-06-19-embedding-resources-into-binary-with-c.md | 5 |
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] | |||
| 11 | preprocessor has been put into the C23 standard but has not yet been | 11 | preprocessor has been put into the C23 standard but has not yet been |
| 12 | implemented by the compilers. | 12 | implemented by the compilers. |
| 13 | 13 | ||
| 14 | Until then a workaround with | 14 | Until 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 | 15 | possible without spending time on rolling out your own. |
| 16 | spending 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. |
| 19 | This works for all files be that text files or binary ones such as images, etc. | 18 | This works for all files be that text files or binary ones such as images, etc. |
