Commit 5c5cf7c
Always include posix.vapi
Changed files (7)
modifieddodo.pymodifiedlibbirdxml/Attribute.valamodifiedlibbirdxml/Attributes.valamodifiedlibbirdxml/Tag.valamodifiedlibbirdxml/Xml.valamodifiedlibbirdxml/XmlString.valamodifiedscripts/build.py
Diff
@@ -54,7 +54,8 @@ LIBS = [ if not config.POSIXVALA: LIBBIRD_XML_LIBS = [- 'glib-2.0'+ 'glib-2.0',+ 'posix' ] else: LIBBIRD_XML_LIBS = [@@ -49,7 +49,7 @@ public class Attribute { /** 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,7 +74,7 @@ public class Attribute { return content.to_string (); } - private extern void finalize ();+ private extern void free (); } }@@ -42,7 +42,7 @@ public class Attributes { /** 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,14 +89,14 @@ public class Attributes { /** 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 (); } }@@ -65,7 +65,7 @@ public class Tag { /** 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 @@ public class Tag { /** 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,7 +478,7 @@ public class Tag { } } - private extern void finalize ();+ private extern void free (); } }@@ -98,7 +98,7 @@ public class XmlParser { /** 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,7 +203,7 @@ public class XmlParser { print ("\n"); } - private extern void finalize ();+ private extern void free (); } }@@ -42,7 +42,7 @@ public class XmlString { /** 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,7 +134,7 @@ public class XmlString { return s.ndup (length); } - private extern void finalize ();+ private extern void free (); } }@@ -43,6 +43,7 @@ def libbirdfont(prefix, cc, cflags, ldflags, valac, valaflags, library, nonNull -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 @@ def libbirdxml(prefix, cc, cflags, ldflags, valac, valaflags, library, nonNull = run(valac + """\ -C \ """ + valaflags + """ \+ --pkg posix \ --vapidir=./ \ --basedir build/libbirdxml/ \ """ + experimentalNonNull + """ \