Skip to content

Commit

Permalink
doc alias
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Oct 30, 2024
1 parent 6e91a0e commit 67bc451
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cidre/src/cg/image/source.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use crate::{arc, cf, cg, define_cf_type};

#[derive(Debug, Eq, PartialEq, Copy, Clone)]
#[repr(i32)]
pub enum Status {
UnexpectedEof = -5,
Expand All @@ -10,7 +11,10 @@ pub enum Status {
Complete = 0,
}

define_cf_type!(Src(cf::Type));
define_cf_type!(
#[doc(alias = "CGImageSourceRef")]
Src(cf::Type)
);

impl Src {
pub fn type_id() -> cf::TypeId {
Expand Down

0 comments on commit 67bc451

Please sign in to comment.