FFmpeg
html_data.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2025, Niklas Haas
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  *
8  * 1. Redistributions of source code must retain the above copyright notice, this
9  * list of conditions and the following disclaimer.
10  *
11  * 2. Redistributions in binary form must reproduce the above copyright notice,
12  * this list of conditions and the following disclaimer in the documentation
13  * and/or other materials provided with the distribution.
14  *
15  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
19  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25  */
26 
27 #ifndef CHECKASM_HTML_DATA_H
28 #define CHECKASM_HTML_DATA_H
29 
30 #ifdef __has_embed
31  #define HAVE_HTML_DATA 1
32 #else
33  #define HAVE_HTML_DATA 0
34 #endif
35 
36 #if HAVE_HTML_DATA
37  #ifdef __clang__
38  #pragma clang diagnostic push
39  #pragma clang diagnostic ignored "-Wc23-extensions"
40  #endif
41 static const char checkasm_chart_js[] = {
42  #embed "html_data/chart.min.js" suffix(, 0)
43 };
44 
45 static const char checkasm_js[] = {
46  #embed "html_data/checkasm.js" suffix(, 0)
47 };
48 
49 static const char checkasm_css[] = {
50  #embed "html_data/checkasm.css" suffix(, 0)
51 };
52 
53 static const char checkasm_html_body[] = {
54  #embed "html_data/body.html" suffix(, 0)
55 };
56 
57  #ifdef __clang__
58  #pragma clang diagnostic pop
59  #endif
60 #else /* !HAVE_HTML_DATA */
61 
62 static const char checkasm_chart_js[] = "";
63 static const char checkasm_js[] = "";
64 static const char checkasm_css[] = "";
65 static const char checkasm_html_body[] = "";
66 
67 #endif
68 
69 #endif /* CHECKASM_HTML_DATA_H */
checkasm_js
static const char checkasm_js[]
Definition: html_data.h:63
checkasm_chart_js
static const char checkasm_chart_js[]
Definition: html_data.h:62
checkasm_html_body
static const char checkasm_html_body[]
Definition: html_data.h:65
checkasm_css
static const char checkasm_css[]
Definition: html_data.h:64