Skip to content

Commit 3647c82

Browse files
author
CI Bot
committed
fix: Suppress non-camel-case warnings for C API types following OpenVX naming convention
1 parent c2660d9 commit 3647c82

821 files changed

Lines changed: 466 additions & 1284 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

openvx-buffer/src/c_api.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//! C API for OpenVX Buffer and Array
22
3+
#![allow(non_camel_case_types)]
4+
35
use std::ffi::c_void;
46
use std::sync::{RwLock, atomic::AtomicUsize, Mutex};
57
use std::collections::HashMap;

openvx-core/src/c_api.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
//!
33
//! This module provides FFI bindings for the OpenVX API
44
5+
#![allow(non_camel_case_types)]
6+
57
use std::ffi::{CStr, c_void};
68
use std::sync::{Arc, Mutex};
79
use std::sync::atomic::AtomicUsize;

openvx-core/src/c_api_data.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//! C API for OpenVX Data Objects (Scalar, Convolution, Matrix, LUT, Threshold, Pyramid)
22
3+
#![allow(non_camel_case_types)]
4+
35
use std::ffi::c_void;
46
use std::sync::RwLock;
57
pub use crate::c_api::*;

openvx-core/src/unified_c_api.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
//! This module re-exports all C API functions from all crates to ensure
44
//! they are visible in the shared library.
55
6+
#![allow(non_camel_case_types)]
7+
68
// Re-export all functions from the core c_api
79
pub use crate::c_api::*;
810
pub use crate::c_api_data::*;

openvx-core/src/vxu_impl.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
//! This module provides actual implementations for VXU functions that bridge
44
//! the C API types to the Rust vision kernel implementations.
55
6+
#![allow(non_camel_case_types)]
7+
68
use std::ffi::c_void;
79
use crate::c_api::{
810
vx_context, vx_image, vx_scalar, vx_array, vx_matrix, vx_convolution,

openvx-image/src/c_api.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//! C API for OpenVX Image
22
3+
#![allow(non_camel_case_types)]
4+
35
use std::ffi::c_void;
46
use std::sync::{RwLock, Arc, atomic::AtomicUsize};
57
// FFI declarations for register/unregister image - ensure we use the same symbol

openvx-image/src/ct_image.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
//! This module implements the CT_Image framework used by the OpenVX Conformance Test Suite.
44
//! CT_Image provides a convenient way to allocate, manipulate, and convert images for testing.
55
6+
#![allow(non_camel_case_types)]
7+
68
use std::alloc::{alloc, dealloc, Layout};
79
use std::ffi::c_void;
810
use std::sync::Arc;

target/release/.fingerprint/openvx-buffer-958e2f9a810b2d4f/dep-lib-openvx_buffer renamed to target/debug/.fingerprint/openvx-buffer-e91a9b25f423ed93/dep-lib-openvx_buffer

File renamed without changes.

target/release/.fingerprint/cfg-if-d93cbb7a0fc64597/invoked.timestamp renamed to target/debug/.fingerprint/openvx-buffer-e91a9b25f423ed93/invoked.timestamp

File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
41048a4b28ddea56

0 commit comments

Comments
 (0)