The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Always include posix.vapi

These changes was commited to the Birdfont repository Tue, 28 Oct 2014 12:36:01 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Tue, 28 Oct 2014 12:36:01 +0000]

Updated Files

dodo.py
libbirdxml/Attribute.vala
libbirdxml/Attributes.vala
libbirdxml/Tag.vala
libbirdxml/Xml.vala
libbirdxml/XmlString.vala
scripts/build.py
diff --git a/dodo.py b/dodo.py
--- a/dodo.py +++ b/dodo.py @@ -54,7 +54,8 @@ if not config.POSIXVALA: LIBBIRD_XML_LIBS = [ - 'glib-2.0' + 'glib-2.0', + 'posix' ] else: LIBBIRD_XML_LIBS = [
--- a/libbirdxml/Attribute.vala +++ b/libbirdxml/Attribute.vala @@ -49,7 +49,7 @@ /** Decrement the reference count and free the object when zero object are holding references to it.*/ public void unref () { if (--refcount == 0) { - this.finalize (); + this.free (); } } @@ -74,8 +74,8 @@ return content.to_string (); } - private extern void finalize (); + private extern void free (); } }
--- a/libbirdxml/Attributes.vala +++ b/libbirdxml/Attributes.vala @@ -42,7 +42,7 @@ /** Decrement the reference count and free the object when zero object are holding references to it.*/ public void unref () { if (--refcount == 0) { - this.finalize (); + this.free (); } } @@ -89,15 +89,15 @@ /** Decrement the reference count and free the object when zero object are holding references to it.*/ public void unref () { if (--iterator_refcount == 0) { - this.finalize (); + this.free (); } } - private extern void finalize (); + private extern void free (); } - private extern void finalize (); + private extern void free (); } }
--- a/libbirdxml/Tag.vala +++ b/libbirdxml/Tag.vala @@ -65,7 +65,7 @@ /** Decrement the reference count and free the object when zero object are holding references to it.*/ public void unref () { if (--refcount == 0) { - this.finalize (); + this.free (); } } @@ -465,11 +465,11 @@ /** Decrement the reference count and free the object when zero object are holding references to it.*/ public void unref () { if (--iterator_efcount == 0) { - this.finalize (); + this.free (); } } - private extern void finalize (); + private extern void free (); } internal void warn (string message) { @@ -478,8 +478,8 @@ } } - private extern void finalize (); + private extern void free (); } }
--- a/libbirdxml/Xml.vala +++ b/libbirdxml/Xml.vala @@ -98,7 +98,7 @@ /** Decrement the reference count and free the object when zero object are holding references to it.*/ public void unref () { if (--refcount == 0) { - this.finalize (); + this.free (); } } @@ -203,8 +203,8 @@ print ("\n"); } - private extern void finalize (); + private extern void free (); } }
--- a/libbirdxml/XmlString.vala +++ b/libbirdxml/XmlString.vala @@ -42,7 +42,7 @@ /** Decrement the reference count and free the object when zero object are holding references to it.*/ public void unref () { if (--refcount == 0) { - this.finalize (); + this.free (); } } @@ -134,8 +134,8 @@ return s.ndup (length); } - private extern void finalize (); + private extern void free (); } }
--- a/scripts/build.py +++ b/scripts/build.py @@ -43,6 +43,7 @@ -H build/libbirdfont/birdfont.h \ libbirdfont/*.vala \ libbirdfont/OpenFontFormat/*.vala \ + libbirdfont/Renderer/*.vala \ --pkg """ + config.GEE + """ \ --pkg gio-2.0 \ --pkg cairo \ @@ -121,6 +122,7 @@ run(valac + """\ -C \ """ + valaflags + """ \ + --pkg posix \ --vapidir=./ \ --basedir build/libbirdxml/ \ """ + experimentalNonNull + """ \