pango/auto/
constants.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5use pango_sys;
6use std::ffi::CStr;
7
8#[cfg_attr(feature = "v1_38", deprecated)]
9lazy_static! {
10    pub static ref ENGINE_TYPE_LANG: &'static str = unsafe {
11        CStr::from_ptr(pango_sys::PANGO_ENGINE_TYPE_LANG)
12            .to_str()
13            .unwrap()
14    };
15}
16#[cfg_attr(feature = "v1_38", deprecated)]
17lazy_static! {
18    pub static ref ENGINE_TYPE_SHAPE: &'static str = unsafe {
19        CStr::from_ptr(pango_sys::PANGO_ENGINE_TYPE_SHAPE)
20            .to_str()
21            .unwrap()
22    };
23}
24#[cfg_attr(feature = "v1_38", deprecated)]
25lazy_static! {
26    pub static ref RENDER_TYPE_NONE: &'static str = unsafe {
27        CStr::from_ptr(pango_sys::PANGO_RENDER_TYPE_NONE)
28            .to_str()
29            .unwrap()
30    };
31}