blob: 944cfc895d652d8363207927fdfa7470bcf62f03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
const build_config = @import("build_config");
pub usingnamespace @cImport({
@cInclude("epoxy/gl.h");
@cInclude("GLFW/glfw3.h");
@cInclude("lo/lo.h");
if (build_config.have_ffmpeg) {
@cInclude("libavcodec/avcodec.h");
@cInclude("libavformat/avformat.h");
@cInclude("libswscale/swscale.h");
}
if (build_config.have_hap) {
@cInclude("hap.h");
}
if (build_config.have_tsv) {
@cInclude("texture_share_gl/texture_share_gl_client.h");
@cInclude("texture_share_vk/config.hpp");
}
});
|