From 7c5d7a6b3b7b081f095465503e118e2bbef554bb Mon Sep 17 00:00:00 2001 From: Yury Korolev Date: Mon, 18 Dec 2023 18:49:33 +0300 Subject: [PATCH] Tune API --- cidre/src/cv/image_buffer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cidre/src/cv/image_buffer.rs b/cidre/src/cv/image_buffer.rs index 52b52fbe..bdd2c73b 100644 --- a/cidre/src/cv/image_buffer.rs +++ b/cidre/src/cv/image_buffer.rs @@ -166,7 +166,7 @@ pub mod attachment { #[doc(alias = "kCVImageBufferTransferFunctionKey")] #[inline] - pub fn transfer_function() -> &'static cf::String { + pub fn transfer_fn() -> &'static cf::String { unsafe { kCVImageBufferTransferFunctionKey } } @@ -371,7 +371,7 @@ pub mod attachment { } } - pub mod transfer_function { + pub mod transfer_fn { use crate::cf; #[doc(alias = "kCVImageBufferTransferFunction_ITU_R_709_2")]