Skip to content

Commit

Permalink
Generate Type (GType) alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
pekim committed Dec 26, 2018
1 parent d78e875 commit d7ce240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions internal/gir-files/GLib-2.0-addenda.gir
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<c:include name="glib-unix.h"/>

<namespace>
<!-- a little obscure, and not worth the effort to support -->
<alias blacklist="true" name="Type"/>

<!-- avoid a name clash with the function file_test (go name FileTest) -->
<bitfield name="FileTest" goname="GFileTest"/>

Expand Down
3 changes: 2 additions & 1 deletion lib/glib/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ type Time int32
// TimeSpan is a representation of the C alias GTimeSpan.
type TimeSpan int64

// Blacklisted : GType
// Type is a representation of the C alias GType.
type Type uint64

0 comments on commit d7ce240

Please # to comment.