|
28 | 28 | * dynamic shared library dependencies. |
29 | 29 | * |
30 | 30 | * If you determine that your toolchain doesn't support dlopen notes, you can |
31 | | - * disable this feature by defining `SDL_DISABLE_DLOPEN_NOTES`. You can use this |
32 | | - * CMake snippet to check for support: |
| 31 | + * disable this feature by defining `SDL_DISABLE_DLOPEN_NOTES`. You can use |
| 32 | + * this CMake snippet to check for support: |
33 | 33 | * |
34 | 34 | * ```cmake |
35 | 35 | * set(CHECK_ELF_DLNOTES_SRC [==[ |
|
54 | 54 | #define SDL_dlopennote_h |
55 | 55 |
|
56 | 56 | /** |
57 | | - * Use this macro with SDL_ELF_NOTE_DLOPEN() to note that a dynamic shared library dependency is optional. |
| 57 | + * Use this macro with SDL_ELF_NOTE_DLOPEN() to note that a dynamic shared |
| 58 | + * library dependency is optional. |
58 | 59 | * |
59 | | - * Optional functionality uses the dependency, the binary will work and the dependency is only needed for full-featured installations. |
| 60 | + * Optional functionality uses the dependency, the binary will work and the |
| 61 | + * dependency is only needed for full-featured installations. |
60 | 62 | * |
61 | 63 | * \since This macro is available since SDL 3.4.0. |
62 | 64 | * |
|
67 | 69 | #define SDL_ELF_NOTE_DLOPEN_PRIORITY_SUGGESTED "suggested" |
68 | 70 |
|
69 | 71 | /** |
70 | | - * Use this macro with SDL_ELF_NOTE_DLOPEN() to note that a dynamic shared library dependency is recommended. |
| 72 | + * Use this macro with SDL_ELF_NOTE_DLOPEN() to note that a dynamic shared |
| 73 | + * library dependency is recommended. |
71 | 74 | * |
72 | | - * Important functionality needs the dependency, the binary will work but in most cases the dependency should be provided. |
| 75 | + * Important functionality needs the dependency, the binary will work but in |
| 76 | + * most cases the dependency should be provided. |
73 | 77 | * |
74 | 78 | * \since This macro is available since SDL 3.4.0. |
75 | 79 | * |
|
80 | 84 | #define SDL_ELF_NOTE_DLOPEN_PRIORITY_RECOMMENDED "recommended" |
81 | 85 |
|
82 | 86 | /** |
83 | | - * Use this macro with SDL_ELF_NOTE_DLOPEN() to note that a dynamic shared library dependency is required. |
| 87 | + * Use this macro with SDL_ELF_NOTE_DLOPEN() to note that a dynamic shared |
| 88 | + * library dependency is required. |
84 | 89 | * |
85 | | - * Core functionality needs the dependency, the binary will not work if it cannot be found. |
| 90 | + * Core functionality needs the dependency, the binary will not work if it |
| 91 | + * cannot be found. |
86 | 92 | * |
87 | 93 | * \since This macro is available since SDL 3.4.0. |
88 | 94 | * |
|
173 | 179 | * ``` |
174 | 180 | * |
175 | 181 | * Or if you support multiple versions of a library, you can list them: |
| 182 | + * |
176 | 183 | * ```c |
177 | 184 | * // Our app supports SDL1, SDL2, and SDL3 by dynamically loading them |
178 | 185 | * SDL_ELF_NOTE_DLOPEN( |
|
0 commit comments