]> git.nega.tv - josh/narcissus/commitdiff
stb_image: Suppress camel case warning
authorJoshua Simmons <josh@nega.tv>
Mon, 7 Aug 2023 21:53:17 +0000 (23:53 +0200)
committerJoshua Simmons <josh@nega.tv>
Mon, 7 Aug 2023 21:53:17 +0000 (23:53 +0200)
libs/ffi/stb_image-sys/src/lib.rs

index 259d7b1573328cfa2d8e629c6eba4d6241356afb..402bde3019fb68069608c8f78cc708d5c848bebf 100644 (file)
@@ -11,6 +11,7 @@ mod libc {
 }
 
 #[repr(C)]
+#[allow(non_camel_case_types)]
 pub struct stbi_io_callbacks {
     /// fill 'data' with 'size' bytes.  return number of bytes actually read
     pub read: extern "C" fn(user: *mut c_void, data: *mut c_char, size: c_int) -> i32,