diff options
author | Zach Reizner <zachr@google.com> | 2018-10-03 10:22:32 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-09 21:14:05 -0700 |
commit | 55a9e504beef368bd97e51ffd5a7fa6c034eb8ad (patch) | |
tree | 894d8685e2fdfa105ea35d1cb6cfceee06502c7a /gpu_display/src/dwl.rs | |
parent | 046df60760f3b0691f23c27a7f24a96c9afe8c05 (diff) | |
download | crosvm-55a9e504beef368bd97e51ffd5a7fa6c034eb8ad.tar crosvm-55a9e504beef368bd97e51ffd5a7fa6c034eb8ad.tar.gz crosvm-55a9e504beef368bd97e51ffd5a7fa6c034eb8ad.tar.bz2 crosvm-55a9e504beef368bd97e51ffd5a7fa6c034eb8ad.tar.lz crosvm-55a9e504beef368bd97e51ffd5a7fa6c034eb8ad.tar.xz crosvm-55a9e504beef368bd97e51ffd5a7fa6c034eb8ad.tar.zst crosvm-55a9e504beef368bd97e51ffd5a7fa6c034eb8ad.zip |
cargo fmt all source code
Now that cargo fmt has landed, run it over everything at once to bring rust source to the standard formatting. TEST=cargo test BUG=None Change-Id: Ic95a48725e5a40dcbd33ba6d5aef2bd01e91865b Reviewed-on: https://chromium-review.googlesource.com/1259287 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'gpu_display/src/dwl.rs')
-rw-r--r-- | gpu_display/src/dwl.rs | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/gpu_display/src/dwl.rs b/gpu_display/src/dwl.rs index cbe337d..41751a7 100644 --- a/gpu_display/src/dwl.rs +++ b/gpu_display/src/dwl.rs @@ -1,6 +1,5 @@ /* automatically generated by rust-bindgen */ - /// @page page_xdg_shell_unstable_v6 The xdg_shell_unstable_v6 protocol /// @section page_ifaces_xdg_shell_unstable_v6 Interfaces /// - @subpage page_iface_zxdg_shell_v6 - create desktop-style surfaces @@ -61,9 +60,10 @@ extern "C" { pub fn dwl_context_destroy(self_: *mut *mut dwl_context); } extern "C" { - pub fn dwl_context_setup(self_: *mut dwl_context, - socket_path: *const ::std::os::raw::c_char) - -> bool; + pub fn dwl_context_setup( + self_: *mut dwl_context, + socket_path: *const ::std::os::raw::c_char, + ) -> bool; } extern "C" { pub fn dwl_context_fd(self_: *mut dwl_context) -> ::std::os::raw::c_int; @@ -72,29 +72,31 @@ extern "C" { pub fn dwl_context_dispatch(self_: *mut dwl_context); } extern "C" { - pub fn dwl_context_dmabuf_new(self_: *mut dwl_context, - fd: ::std::os::raw::c_int, - offset: u32, - stride: u32, - modifiers: u64, - width: u32, - height: u32, - fourcc: u32) - -> *mut dwl_dmabuf; + pub fn dwl_context_dmabuf_new( + self_: *mut dwl_context, + fd: ::std::os::raw::c_int, + offset: u32, + stride: u32, + modifiers: u64, + width: u32, + height: u32, + fourcc: u32, + ) -> *mut dwl_dmabuf; } extern "C" { pub fn dwl_dmabuf_destroy(self_: *mut *mut dwl_dmabuf); } extern "C" { - pub fn dwl_context_surface_new(self_: *mut dwl_context, - parent: *mut dwl_surface, - shm_fd: ::std::os::raw::c_int, - shm_size: usize, - buffer_size: usize, - width: u32, - height: u32, - stride: u32) - -> *mut dwl_surface; + pub fn dwl_context_surface_new( + self_: *mut dwl_context, + parent: *mut dwl_surface, + shm_fd: ::std::os::raw::c_int, + shm_size: usize, + buffer_size: usize, + width: u32, + height: u32, + stride: u32, + ) -> *mut dwl_surface; } extern "C" { pub fn dwl_surface_destroy(self_: *mut *mut dwl_surface); |