Skip to content

Commit 6fe307d

Browse files
committed
regenerate set manual impl for some functions
1 parent 2722f4f commit 6fe307d

File tree

1 file changed

+1
-48
lines changed

1 file changed

+1
-48
lines changed

pango/src/auto/functions.rs

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

5-
use crate::{
6-
ffi, Analysis, AttrIterator, AttrList, Context, Direction, GlyphString, Item, Stretch, Style,
7-
Variant, Weight,
8-
};
5+
use crate::{ffi, Analysis, AttrList, Direction, GlyphString, Stretch, Style, Variant, Weight};
96
use glib::translate::*;
107

118
//#[cfg_attr(feature = "v1_44", deprecated = "Since 1.44")]
@@ -57,50 +54,6 @@ pub fn is_zero_width(ch: char) -> bool {
5754
unsafe { from_glib(ffi::pango_is_zero_width(ch.into_glib())) }
5855
}
5956

60-
#[doc(alias = "pango_itemize")]
61-
pub fn itemize<'a>(
62-
context: &Context,
63-
text: &str,
64-
start_index: i32,
65-
length: i32,
66-
attrs: &AttrList,
67-
cached_iter: impl Into<Option<&'a AttrIterator>>,
68-
) -> Vec<Item> {
69-
unsafe {
70-
FromGlibPtrContainer::from_glib_full(ffi::pango_itemize(
71-
context.to_glib_none().0,
72-
text.to_glib_none().0,
73-
start_index,
74-
length,
75-
attrs.to_glib_none().0,
76-
mut_override(cached_iter.into().to_glib_none().0),
77-
))
78-
}
79-
}
80-
81-
#[doc(alias = "pango_itemize_with_base_dir")]
82-
pub fn itemize_with_base_dir<'a>(
83-
context: &Context,
84-
base_dir: Direction,
85-
text: &str,
86-
start_index: i32,
87-
length: i32,
88-
attrs: &AttrList,
89-
cached_iter: impl Into<Option<&'a AttrIterator>>,
90-
) -> Vec<Item> {
91-
unsafe {
92-
FromGlibPtrContainer::from_glib_full(ffi::pango_itemize_with_base_dir(
93-
context.to_glib_none().0,
94-
base_dir.into_glib(),
95-
text.to_glib_none().0,
96-
start_index,
97-
length,
98-
attrs.to_glib_none().0,
99-
mut_override(cached_iter.into().to_glib_none().0),
100-
))
101-
}
102-
}
103-
10457
#[doc(alias = "pango_markup_parser_finish")]
10558
pub fn markup_parser_finish(
10659
context: &glib::MarkupParseContext,

0 commit comments

Comments
 (0)