1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// UniversalUI_Native - x11/init.rs
// created by sebhall on 28/07/2023
//
// UniversalUI_Native contains native platform functionality
// for the UniversalUI framework, such as windowing, events
// and file management.
//
// x11/init.rs intialises and tests the x11 platform
// implementation.
use crate*;
extern crate x11;
use xlib;
use ptr;
pub static mut DISPLAY: = None;