tracy_client_sys/
generated.rs

1pub const TracyPlotFormatEnum_TracyPlotFormatNumber: TracyPlotFormatEnum = 0;
2pub const TracyPlotFormatEnum_TracyPlotFormatMemory: TracyPlotFormatEnum = 1;
3pub const TracyPlotFormatEnum_TracyPlotFormatPercentage: TracyPlotFormatEnum = 2;
4pub const TracyPlotFormatEnum_TracyPlotFormatWatt: TracyPlotFormatEnum = 3;
5type TracyPlotFormatEnum = ::std::os::raw::c_uint;
6extern "C" {
7    pub fn ___tracy_set_thread_name(name: *const ::std::os::raw::c_char);
8}
9#[repr(C)]
10#[derive(Debug, Copy, Clone)]
11pub struct ___tracy_source_location_data {
12    pub name: *const ::std::os::raw::c_char,
13    pub function: *const ::std::os::raw::c_char,
14    pub file: *const ::std::os::raw::c_char,
15    pub line: u32,
16    pub color: u32,
17}
18#[test]
19fn bindgen_test_layout____tracy_source_location_data() {
20    const UNINIT: ::std::mem::MaybeUninit<___tracy_source_location_data> =
21        ::std::mem::MaybeUninit::uninit();
22    let ptr = UNINIT.as_ptr();
23    assert_eq!(
24        ::std::mem::size_of::<___tracy_source_location_data>(),
25        32usize,
26        "Size of ___tracy_source_location_data"
27    );
28    assert_eq!(
29        ::std::mem::align_of::<___tracy_source_location_data>(),
30        8usize,
31        "Alignment of ___tracy_source_location_data"
32    );
33    assert_eq!(
34        unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
35        0usize,
36        "Offset of field: ___tracy_source_location_data::name"
37    );
38    assert_eq!(
39        unsafe { ::std::ptr::addr_of!((*ptr).function) as usize - ptr as usize },
40        8usize,
41        "Offset of field: ___tracy_source_location_data::function"
42    );
43    assert_eq!(
44        unsafe { ::std::ptr::addr_of!((*ptr).file) as usize - ptr as usize },
45        16usize,
46        "Offset of field: ___tracy_source_location_data::file"
47    );
48    assert_eq!(
49        unsafe { ::std::ptr::addr_of!((*ptr).line) as usize - ptr as usize },
50        24usize,
51        "Offset of field: ___tracy_source_location_data::line"
52    );
53    assert_eq!(
54        unsafe { ::std::ptr::addr_of!((*ptr).color) as usize - ptr as usize },
55        28usize,
56        "Offset of field: ___tracy_source_location_data::color"
57    );
58}
59#[repr(C)]
60#[derive(Debug, Copy, Clone)]
61pub struct ___tracy_c_zone_context {
62    pub id: u32,
63    pub active: i32,
64}
65#[test]
66fn bindgen_test_layout____tracy_c_zone_context() {
67    const UNINIT: ::std::mem::MaybeUninit<___tracy_c_zone_context> =
68        ::std::mem::MaybeUninit::uninit();
69    let ptr = UNINIT.as_ptr();
70    assert_eq!(
71        ::std::mem::size_of::<___tracy_c_zone_context>(),
72        8usize,
73        "Size of ___tracy_c_zone_context"
74    );
75    assert_eq!(
76        ::std::mem::align_of::<___tracy_c_zone_context>(),
77        4usize,
78        "Alignment of ___tracy_c_zone_context"
79    );
80    assert_eq!(
81        unsafe { ::std::ptr::addr_of!((*ptr).id) as usize - ptr as usize },
82        0usize,
83        "Offset of field: ___tracy_c_zone_context::id"
84    );
85    assert_eq!(
86        unsafe { ::std::ptr::addr_of!((*ptr).active) as usize - ptr as usize },
87        4usize,
88        "Offset of field: ___tracy_c_zone_context::active"
89    );
90}
91#[repr(C)]
92#[derive(Debug, Copy, Clone)]
93pub struct ___tracy_gpu_time_data {
94    pub gpuTime: i64,
95    pub queryId: u16,
96    pub context: u8,
97}
98#[test]
99fn bindgen_test_layout____tracy_gpu_time_data() {
100    const UNINIT: ::std::mem::MaybeUninit<___tracy_gpu_time_data> =
101        ::std::mem::MaybeUninit::uninit();
102    let ptr = UNINIT.as_ptr();
103    assert_eq!(
104        ::std::mem::size_of::<___tracy_gpu_time_data>(),
105        16usize,
106        "Size of ___tracy_gpu_time_data"
107    );
108    assert_eq!(
109        ::std::mem::align_of::<___tracy_gpu_time_data>(),
110        8usize,
111        "Alignment of ___tracy_gpu_time_data"
112    );
113    assert_eq!(
114        unsafe { ::std::ptr::addr_of!((*ptr).gpuTime) as usize - ptr as usize },
115        0usize,
116        "Offset of field: ___tracy_gpu_time_data::gpuTime"
117    );
118    assert_eq!(
119        unsafe { ::std::ptr::addr_of!((*ptr).queryId) as usize - ptr as usize },
120        8usize,
121        "Offset of field: ___tracy_gpu_time_data::queryId"
122    );
123    assert_eq!(
124        unsafe { ::std::ptr::addr_of!((*ptr).context) as usize - ptr as usize },
125        10usize,
126        "Offset of field: ___tracy_gpu_time_data::context"
127    );
128}
129#[repr(C)]
130#[derive(Debug, Copy, Clone)]
131pub struct ___tracy_gpu_zone_begin_data {
132    pub srcloc: u64,
133    pub queryId: u16,
134    pub context: u8,
135}
136#[test]
137fn bindgen_test_layout____tracy_gpu_zone_begin_data() {
138    const UNINIT: ::std::mem::MaybeUninit<___tracy_gpu_zone_begin_data> =
139        ::std::mem::MaybeUninit::uninit();
140    let ptr = UNINIT.as_ptr();
141    assert_eq!(
142        ::std::mem::size_of::<___tracy_gpu_zone_begin_data>(),
143        16usize,
144        "Size of ___tracy_gpu_zone_begin_data"
145    );
146    assert_eq!(
147        ::std::mem::align_of::<___tracy_gpu_zone_begin_data>(),
148        8usize,
149        "Alignment of ___tracy_gpu_zone_begin_data"
150    );
151    assert_eq!(
152        unsafe { ::std::ptr::addr_of!((*ptr).srcloc) as usize - ptr as usize },
153        0usize,
154        "Offset of field: ___tracy_gpu_zone_begin_data::srcloc"
155    );
156    assert_eq!(
157        unsafe { ::std::ptr::addr_of!((*ptr).queryId) as usize - ptr as usize },
158        8usize,
159        "Offset of field: ___tracy_gpu_zone_begin_data::queryId"
160    );
161    assert_eq!(
162        unsafe { ::std::ptr::addr_of!((*ptr).context) as usize - ptr as usize },
163        10usize,
164        "Offset of field: ___tracy_gpu_zone_begin_data::context"
165    );
166}
167#[repr(C)]
168#[derive(Debug, Copy, Clone)]
169pub struct ___tracy_gpu_zone_begin_callstack_data {
170    pub srcloc: u64,
171    pub depth: i32,
172    pub queryId: u16,
173    pub context: u8,
174}
175#[test]
176fn bindgen_test_layout____tracy_gpu_zone_begin_callstack_data() {
177    const UNINIT: ::std::mem::MaybeUninit<___tracy_gpu_zone_begin_callstack_data> =
178        ::std::mem::MaybeUninit::uninit();
179    let ptr = UNINIT.as_ptr();
180    assert_eq!(
181        ::std::mem::size_of::<___tracy_gpu_zone_begin_callstack_data>(),
182        16usize,
183        "Size of ___tracy_gpu_zone_begin_callstack_data"
184    );
185    assert_eq!(
186        ::std::mem::align_of::<___tracy_gpu_zone_begin_callstack_data>(),
187        8usize,
188        "Alignment of ___tracy_gpu_zone_begin_callstack_data"
189    );
190    assert_eq!(
191        unsafe { ::std::ptr::addr_of!((*ptr).srcloc) as usize - ptr as usize },
192        0usize,
193        "Offset of field: ___tracy_gpu_zone_begin_callstack_data::srcloc"
194    );
195    assert_eq!(
196        unsafe { ::std::ptr::addr_of!((*ptr).depth) as usize - ptr as usize },
197        8usize,
198        "Offset of field: ___tracy_gpu_zone_begin_callstack_data::depth"
199    );
200    assert_eq!(
201        unsafe { ::std::ptr::addr_of!((*ptr).queryId) as usize - ptr as usize },
202        12usize,
203        "Offset of field: ___tracy_gpu_zone_begin_callstack_data::queryId"
204    );
205    assert_eq!(
206        unsafe { ::std::ptr::addr_of!((*ptr).context) as usize - ptr as usize },
207        14usize,
208        "Offset of field: ___tracy_gpu_zone_begin_callstack_data::context"
209    );
210}
211#[repr(C)]
212#[derive(Debug, Copy, Clone)]
213pub struct ___tracy_gpu_zone_end_data {
214    pub queryId: u16,
215    pub context: u8,
216}
217#[test]
218fn bindgen_test_layout____tracy_gpu_zone_end_data() {
219    const UNINIT: ::std::mem::MaybeUninit<___tracy_gpu_zone_end_data> =
220        ::std::mem::MaybeUninit::uninit();
221    let ptr = UNINIT.as_ptr();
222    assert_eq!(
223        ::std::mem::size_of::<___tracy_gpu_zone_end_data>(),
224        4usize,
225        "Size of ___tracy_gpu_zone_end_data"
226    );
227    assert_eq!(
228        ::std::mem::align_of::<___tracy_gpu_zone_end_data>(),
229        2usize,
230        "Alignment of ___tracy_gpu_zone_end_data"
231    );
232    assert_eq!(
233        unsafe { ::std::ptr::addr_of!((*ptr).queryId) as usize - ptr as usize },
234        0usize,
235        "Offset of field: ___tracy_gpu_zone_end_data::queryId"
236    );
237    assert_eq!(
238        unsafe { ::std::ptr::addr_of!((*ptr).context) as usize - ptr as usize },
239        2usize,
240        "Offset of field: ___tracy_gpu_zone_end_data::context"
241    );
242}
243#[repr(C)]
244#[derive(Debug, Copy, Clone)]
245pub struct ___tracy_gpu_new_context_data {
246    pub gpuTime: i64,
247    pub period: f32,
248    pub context: u8,
249    pub flags: u8,
250    pub type_: u8,
251}
252#[test]
253fn bindgen_test_layout____tracy_gpu_new_context_data() {
254    const UNINIT: ::std::mem::MaybeUninit<___tracy_gpu_new_context_data> =
255        ::std::mem::MaybeUninit::uninit();
256    let ptr = UNINIT.as_ptr();
257    assert_eq!(
258        ::std::mem::size_of::<___tracy_gpu_new_context_data>(),
259        16usize,
260        "Size of ___tracy_gpu_new_context_data"
261    );
262    assert_eq!(
263        ::std::mem::align_of::<___tracy_gpu_new_context_data>(),
264        8usize,
265        "Alignment of ___tracy_gpu_new_context_data"
266    );
267    assert_eq!(
268        unsafe { ::std::ptr::addr_of!((*ptr).gpuTime) as usize - ptr as usize },
269        0usize,
270        "Offset of field: ___tracy_gpu_new_context_data::gpuTime"
271    );
272    assert_eq!(
273        unsafe { ::std::ptr::addr_of!((*ptr).period) as usize - ptr as usize },
274        8usize,
275        "Offset of field: ___tracy_gpu_new_context_data::period"
276    );
277    assert_eq!(
278        unsafe { ::std::ptr::addr_of!((*ptr).context) as usize - ptr as usize },
279        12usize,
280        "Offset of field: ___tracy_gpu_new_context_data::context"
281    );
282    assert_eq!(
283        unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
284        13usize,
285        "Offset of field: ___tracy_gpu_new_context_data::flags"
286    );
287    assert_eq!(
288        unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize },
289        14usize,
290        "Offset of field: ___tracy_gpu_new_context_data::type_"
291    );
292}
293#[repr(C)]
294#[derive(Debug, Copy, Clone)]
295pub struct ___tracy_gpu_context_name_data {
296    pub context: u8,
297    pub name: *const ::std::os::raw::c_char,
298    pub len: u16,
299}
300#[test]
301fn bindgen_test_layout____tracy_gpu_context_name_data() {
302    const UNINIT: ::std::mem::MaybeUninit<___tracy_gpu_context_name_data> =
303        ::std::mem::MaybeUninit::uninit();
304    let ptr = UNINIT.as_ptr();
305    assert_eq!(
306        ::std::mem::size_of::<___tracy_gpu_context_name_data>(),
307        24usize,
308        "Size of ___tracy_gpu_context_name_data"
309    );
310    assert_eq!(
311        ::std::mem::align_of::<___tracy_gpu_context_name_data>(),
312        8usize,
313        "Alignment of ___tracy_gpu_context_name_data"
314    );
315    assert_eq!(
316        unsafe { ::std::ptr::addr_of!((*ptr).context) as usize - ptr as usize },
317        0usize,
318        "Offset of field: ___tracy_gpu_context_name_data::context"
319    );
320    assert_eq!(
321        unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
322        8usize,
323        "Offset of field: ___tracy_gpu_context_name_data::name"
324    );
325    assert_eq!(
326        unsafe { ::std::ptr::addr_of!((*ptr).len) as usize - ptr as usize },
327        16usize,
328        "Offset of field: ___tracy_gpu_context_name_data::len"
329    );
330}
331#[repr(C)]
332#[derive(Debug, Copy, Clone)]
333pub struct ___tracy_gpu_calibration_data {
334    pub gpuTime: i64,
335    pub cpuDelta: i64,
336    pub context: u8,
337}
338#[test]
339fn bindgen_test_layout____tracy_gpu_calibration_data() {
340    const UNINIT: ::std::mem::MaybeUninit<___tracy_gpu_calibration_data> =
341        ::std::mem::MaybeUninit::uninit();
342    let ptr = UNINIT.as_ptr();
343    assert_eq!(
344        ::std::mem::size_of::<___tracy_gpu_calibration_data>(),
345        24usize,
346        "Size of ___tracy_gpu_calibration_data"
347    );
348    assert_eq!(
349        ::std::mem::align_of::<___tracy_gpu_calibration_data>(),
350        8usize,
351        "Alignment of ___tracy_gpu_calibration_data"
352    );
353    assert_eq!(
354        unsafe { ::std::ptr::addr_of!((*ptr).gpuTime) as usize - ptr as usize },
355        0usize,
356        "Offset of field: ___tracy_gpu_calibration_data::gpuTime"
357    );
358    assert_eq!(
359        unsafe { ::std::ptr::addr_of!((*ptr).cpuDelta) as usize - ptr as usize },
360        8usize,
361        "Offset of field: ___tracy_gpu_calibration_data::cpuDelta"
362    );
363    assert_eq!(
364        unsafe { ::std::ptr::addr_of!((*ptr).context) as usize - ptr as usize },
365        16usize,
366        "Offset of field: ___tracy_gpu_calibration_data::context"
367    );
368}
369#[repr(C)]
370#[derive(Debug, Copy, Clone)]
371pub struct ___tracy_gpu_time_sync_data {
372    pub gpuTime: i64,
373    pub context: u8,
374}
375#[test]
376fn bindgen_test_layout____tracy_gpu_time_sync_data() {
377    const UNINIT: ::std::mem::MaybeUninit<___tracy_gpu_time_sync_data> =
378        ::std::mem::MaybeUninit::uninit();
379    let ptr = UNINIT.as_ptr();
380    assert_eq!(
381        ::std::mem::size_of::<___tracy_gpu_time_sync_data>(),
382        16usize,
383        "Size of ___tracy_gpu_time_sync_data"
384    );
385    assert_eq!(
386        ::std::mem::align_of::<___tracy_gpu_time_sync_data>(),
387        8usize,
388        "Alignment of ___tracy_gpu_time_sync_data"
389    );
390    assert_eq!(
391        unsafe { ::std::ptr::addr_of!((*ptr).gpuTime) as usize - ptr as usize },
392        0usize,
393        "Offset of field: ___tracy_gpu_time_sync_data::gpuTime"
394    );
395    assert_eq!(
396        unsafe { ::std::ptr::addr_of!((*ptr).context) as usize - ptr as usize },
397        8usize,
398        "Offset of field: ___tracy_gpu_time_sync_data::context"
399    );
400}
401#[repr(C)]
402#[derive(Debug, Copy, Clone)]
403pub struct __tracy_lockable_context_data {
404    _unused: [u8; 0],
405}
406type TracyCZoneCtx = ___tracy_c_zone_context;
407extern "C" {
408    pub fn ___tracy_alloc_srcloc(
409        line: u32,
410        source: *const ::std::os::raw::c_char,
411        sourceSz: usize,
412        function: *const ::std::os::raw::c_char,
413        functionSz: usize,
414        color: u32,
415    ) -> u64;
416}
417extern "C" {
418    pub fn ___tracy_alloc_srcloc_name(
419        line: u32,
420        source: *const ::std::os::raw::c_char,
421        sourceSz: usize,
422        function: *const ::std::os::raw::c_char,
423        functionSz: usize,
424        name: *const ::std::os::raw::c_char,
425        nameSz: usize,
426        color: u32,
427    ) -> u64;
428}
429extern "C" {
430    pub fn ___tracy_emit_zone_begin(
431        srcloc: *const ___tracy_source_location_data,
432        active: i32,
433    ) -> TracyCZoneCtx;
434}
435extern "C" {
436    pub fn ___tracy_emit_zone_begin_callstack(
437        srcloc: *const ___tracy_source_location_data,
438        depth: i32,
439        active: i32,
440    ) -> TracyCZoneCtx;
441}
442extern "C" {
443    pub fn ___tracy_emit_zone_begin_alloc(srcloc: u64, active: i32) -> TracyCZoneCtx;
444}
445extern "C" {
446    pub fn ___tracy_emit_zone_begin_alloc_callstack(
447        srcloc: u64,
448        depth: i32,
449        active: i32,
450    ) -> TracyCZoneCtx;
451}
452extern "C" {
453    pub fn ___tracy_emit_zone_end(ctx: TracyCZoneCtx);
454}
455extern "C" {
456    pub fn ___tracy_emit_zone_text(
457        ctx: TracyCZoneCtx,
458        txt: *const ::std::os::raw::c_char,
459        size: usize,
460    );
461}
462extern "C" {
463    pub fn ___tracy_emit_zone_name(
464        ctx: TracyCZoneCtx,
465        txt: *const ::std::os::raw::c_char,
466        size: usize,
467    );
468}
469extern "C" {
470    pub fn ___tracy_emit_zone_color(ctx: TracyCZoneCtx, color: u32);
471}
472extern "C" {
473    pub fn ___tracy_emit_zone_value(ctx: TracyCZoneCtx, value: u64);
474}
475extern "C" {
476    pub fn ___tracy_emit_gpu_zone_begin(arg1: ___tracy_gpu_zone_begin_data);
477}
478extern "C" {
479    pub fn ___tracy_emit_gpu_zone_begin_callstack(arg1: ___tracy_gpu_zone_begin_callstack_data);
480}
481extern "C" {
482    pub fn ___tracy_emit_gpu_zone_begin_alloc(arg1: ___tracy_gpu_zone_begin_data);
483}
484extern "C" {
485    pub fn ___tracy_emit_gpu_zone_begin_alloc_callstack(
486        arg1: ___tracy_gpu_zone_begin_callstack_data,
487    );
488}
489extern "C" {
490    pub fn ___tracy_emit_gpu_zone_end(data: ___tracy_gpu_zone_end_data);
491}
492extern "C" {
493    pub fn ___tracy_emit_gpu_time(arg1: ___tracy_gpu_time_data);
494}
495extern "C" {
496    pub fn ___tracy_emit_gpu_new_context(arg1: ___tracy_gpu_new_context_data);
497}
498extern "C" {
499    pub fn ___tracy_emit_gpu_context_name(arg1: ___tracy_gpu_context_name_data);
500}
501extern "C" {
502    pub fn ___tracy_emit_gpu_calibration(arg1: ___tracy_gpu_calibration_data);
503}
504extern "C" {
505    pub fn ___tracy_emit_gpu_time_sync(arg1: ___tracy_gpu_time_sync_data);
506}
507extern "C" {
508    pub fn ___tracy_emit_gpu_zone_begin_serial(arg1: ___tracy_gpu_zone_begin_data);
509}
510extern "C" {
511    pub fn ___tracy_emit_gpu_zone_begin_callstack_serial(
512        arg1: ___tracy_gpu_zone_begin_callstack_data,
513    );
514}
515extern "C" {
516    pub fn ___tracy_emit_gpu_zone_begin_alloc_serial(arg1: ___tracy_gpu_zone_begin_data);
517}
518extern "C" {
519    pub fn ___tracy_emit_gpu_zone_begin_alloc_callstack_serial(
520        arg1: ___tracy_gpu_zone_begin_callstack_data,
521    );
522}
523extern "C" {
524    pub fn ___tracy_emit_gpu_zone_end_serial(data: ___tracy_gpu_zone_end_data);
525}
526extern "C" {
527    pub fn ___tracy_emit_gpu_time_serial(arg1: ___tracy_gpu_time_data);
528}
529extern "C" {
530    pub fn ___tracy_emit_gpu_new_context_serial(arg1: ___tracy_gpu_new_context_data);
531}
532extern "C" {
533    pub fn ___tracy_emit_gpu_context_name_serial(arg1: ___tracy_gpu_context_name_data);
534}
535extern "C" {
536    pub fn ___tracy_emit_gpu_calibration_serial(arg1: ___tracy_gpu_calibration_data);
537}
538extern "C" {
539    pub fn ___tracy_emit_gpu_time_sync_serial(arg1: ___tracy_gpu_time_sync_data);
540}
541extern "C" {
542    pub fn ___tracy_connected() -> i32;
543}
544extern "C" {
545    pub fn ___tracy_emit_memory_alloc(ptr: *const ::std::os::raw::c_void, size: usize, secure: i32);
546}
547extern "C" {
548    pub fn ___tracy_emit_memory_alloc_callstack(
549        ptr: *const ::std::os::raw::c_void,
550        size: usize,
551        depth: i32,
552        secure: i32,
553    );
554}
555extern "C" {
556    pub fn ___tracy_emit_memory_free(ptr: *const ::std::os::raw::c_void, secure: i32);
557}
558extern "C" {
559    pub fn ___tracy_emit_memory_free_callstack(
560        ptr: *const ::std::os::raw::c_void,
561        depth: i32,
562        secure: i32,
563    );
564}
565extern "C" {
566    pub fn ___tracy_emit_memory_alloc_named(
567        ptr: *const ::std::os::raw::c_void,
568        size: usize,
569        secure: i32,
570        name: *const ::std::os::raw::c_char,
571    );
572}
573extern "C" {
574    pub fn ___tracy_emit_memory_alloc_callstack_named(
575        ptr: *const ::std::os::raw::c_void,
576        size: usize,
577        depth: i32,
578        secure: i32,
579        name: *const ::std::os::raw::c_char,
580    );
581}
582extern "C" {
583    pub fn ___tracy_emit_memory_free_named(
584        ptr: *const ::std::os::raw::c_void,
585        secure: i32,
586        name: *const ::std::os::raw::c_char,
587    );
588}
589extern "C" {
590    pub fn ___tracy_emit_memory_free_callstack_named(
591        ptr: *const ::std::os::raw::c_void,
592        depth: i32,
593        secure: i32,
594        name: *const ::std::os::raw::c_char,
595    );
596}
597extern "C" {
598    pub fn ___tracy_emit_memory_discard(name: *const ::std::os::raw::c_char, secure: i32);
599}
600extern "C" {
601    pub fn ___tracy_emit_memory_discard_callstack(
602        name: *const ::std::os::raw::c_char,
603        secure: i32,
604        depth: i32,
605    );
606}
607extern "C" {
608    pub fn ___tracy_emit_message(
609        txt: *const ::std::os::raw::c_char,
610        size: usize,
611        callstack_depth: i32,
612    );
613}
614extern "C" {
615    pub fn ___tracy_emit_messageL(txt: *const ::std::os::raw::c_char, callstack_depth: i32);
616}
617extern "C" {
618    pub fn ___tracy_emit_messageC(
619        txt: *const ::std::os::raw::c_char,
620        size: usize,
621        color: u32,
622        callstack_depth: i32,
623    );
624}
625extern "C" {
626    pub fn ___tracy_emit_messageLC(
627        txt: *const ::std::os::raw::c_char,
628        color: u32,
629        callstack_depth: i32,
630    );
631}
632extern "C" {
633    pub fn ___tracy_emit_frame_mark(name: *const ::std::os::raw::c_char);
634}
635extern "C" {
636    pub fn ___tracy_emit_frame_mark_start(name: *const ::std::os::raw::c_char);
637}
638extern "C" {
639    pub fn ___tracy_emit_frame_mark_end(name: *const ::std::os::raw::c_char);
640}
641extern "C" {
642    pub fn ___tracy_emit_frame_image(
643        image: *const ::std::os::raw::c_void,
644        w: u16,
645        h: u16,
646        offset: u8,
647        flip: i32,
648    );
649}
650extern "C" {
651    pub fn ___tracy_emit_plot(name: *const ::std::os::raw::c_char, val: f64);
652}
653extern "C" {
654    pub fn ___tracy_emit_plot_float(name: *const ::std::os::raw::c_char, val: f32);
655}
656extern "C" {
657    pub fn ___tracy_emit_plot_int(name: *const ::std::os::raw::c_char, val: i64);
658}
659extern "C" {
660    pub fn ___tracy_emit_plot_config(
661        name: *const ::std::os::raw::c_char,
662        type_: i32,
663        step: i32,
664        fill: i32,
665        color: u32,
666    );
667}
668extern "C" {
669    pub fn ___tracy_emit_message_appinfo(txt: *const ::std::os::raw::c_char, size: usize);
670}
671extern "C" {
672    pub fn ___tracy_announce_lockable_ctx(
673        srcloc: *const ___tracy_source_location_data,
674    ) -> *mut __tracy_lockable_context_data;
675}
676extern "C" {
677    pub fn ___tracy_terminate_lockable_ctx(lockdata: *mut __tracy_lockable_context_data);
678}
679extern "C" {
680    pub fn ___tracy_before_lock_lockable_ctx(lockdata: *mut __tracy_lockable_context_data) -> i32;
681}
682extern "C" {
683    pub fn ___tracy_after_lock_lockable_ctx(lockdata: *mut __tracy_lockable_context_data);
684}
685extern "C" {
686    pub fn ___tracy_after_unlock_lockable_ctx(lockdata: *mut __tracy_lockable_context_data);
687}
688extern "C" {
689    pub fn ___tracy_after_try_lock_lockable_ctx(
690        lockdata: *mut __tracy_lockable_context_data,
691        acquired: i32,
692    );
693}
694extern "C" {
695    pub fn ___tracy_mark_lockable_ctx(
696        lockdata: *mut __tracy_lockable_context_data,
697        srcloc: *const ___tracy_source_location_data,
698    );
699}
700extern "C" {
701    pub fn ___tracy_custom_name_lockable_ctx(
702        lockdata: *mut __tracy_lockable_context_data,
703        name: *const ::std::os::raw::c_char,
704        nameSz: usize,
705    );
706}