1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
use super::*;
use std::fmt;

foreign_type! {
    type CType = ffi::NAMEDCOLORLIST;
    fn drop = ffi::cmsFreeNamedColorList;
    pub struct NamedColorList;
    pub struct NamedColorListRef;
}

impl<'a> fmt::Debug for NamedColorListRef {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        f.write_str("NAMEDCOLORLIST")
    }
}