Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
Regen
Browse files Browse the repository at this point in the history
  • Loading branch information
EPashkin committed Aug 5, 2017
1 parent 3890589 commit f932ffe
Show file tree
Hide file tree
Showing 29 changed files with 73 additions and 30 deletions.
9 changes: 8 additions & 1 deletion Gir.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ generate = [
"Pango.AttrType",
"Pango.BidiType",
"Pango.Color",
"Pango.Coverage",
"Pango.CoverageLevel",
"Pango.Direction",
"Pango.EllipsizeMode",
Expand Down Expand Up @@ -106,6 +105,14 @@ status = "generate"
name = "language"
const = true

[[object]]
name = "Pango.Coverage"
status = "generate"
[[object.function]]
name = "new"
[object.function.return]
nullable = false

[[object]]
name = "Pango.FontDescription"
status = "generate"
Expand Down
2 changes: 1 addition & 1 deletion src/auto/alias.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

#[allow(unused_imports)]
Expand Down
8 changes: 7 additions & 1 deletion src/auto/attr_list.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use ffi;
Expand Down Expand Up @@ -45,3 +45,9 @@ impl AttrList {
}
}
}

impl Default for AttrList {
fn default() -> Self {
Self::new()
}
}
2 changes: 1 addition & 1 deletion src/auto/attribute.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use AttrClass;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/color.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use ffi;
Expand Down
8 changes: 7 additions & 1 deletion src/auto/context.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use Direction;
Expand Down Expand Up @@ -36,6 +36,12 @@ impl Context {
}
}

impl Default for Context {
fn default() -> Self {
Self::new()
}
}

pub trait ContextExt {
#[cfg(feature = "v1_32_4")]
fn changed(&self);
Expand Down
10 changes: 8 additions & 2 deletions src/auto/coverage.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use CoverageLevel;
Expand Down Expand Up @@ -58,9 +58,15 @@ impl Coverage {
}
}

pub fn new() -> Option<Coverage> {
pub fn new() -> Coverage {
unsafe {
from_glib_none(ffi::pango_coverage_new())
}
}
}

impl Default for Coverage {
fn default() -> Self {
Self::new()
}
}
2 changes: 1 addition & 1 deletion src/auto/engine_shape.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/enums.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/flags.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/font.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use Coverage;
Expand Down
8 changes: 7 additions & 1 deletion src/auto/font_description.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use FontMask;
Expand Down Expand Up @@ -187,6 +187,12 @@ impl FontDescription {
}
}

impl Default for FontDescription {
fn default() -> Self {
Self::new()
}
}

impl PartialEq for FontDescription {
#[inline]
fn eq(&self, other: &Self) -> bool {
Expand Down
2 changes: 1 addition & 1 deletion src/auto/font_face.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use FontDescription;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/font_family.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use FontFace;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/font_map.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use Context;
Expand Down
8 changes: 7 additions & 1 deletion src/auto/font_metrics.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use ffi;
Expand Down Expand Up @@ -73,3 +73,9 @@ impl FontMetrics {
}
}
}

impl Default for FontMetrics {
fn default() -> Self {
Self::new()
}
}
2 changes: 1 addition & 1 deletion src/auto/fontset.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use Font;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/functions.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use AttrList;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/glyph_item.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use AttrList;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/glyph_item_iter.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use GlyphItem;
Expand Down
8 changes: 7 additions & 1 deletion src/auto/glyph_string.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use Font;
Expand Down Expand Up @@ -69,3 +69,9 @@ impl GlyphString {
// unsafe { TODO: call ffi::pango_glyph_string_x_to_index() }
//}
}

impl Default for GlyphString {
fn default() -> Self {
Self::new()
}
}
2 changes: 1 addition & 1 deletion src/auto/layout.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use Alignment;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/layout_iter.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use Layout;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/layout_line.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use Rectangle;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/matrix.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

mod context;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/renderer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use Color;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/tab_array.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (f00d658) from gir-files (0bcaef9)
// This file was generated by gir (9f70278) from gir-files (0bcaef9)
// DO NOT EDIT

use TabAlign;
Expand Down

0 comments on commit f932ffe

Please sign in to comment.