Clone in a terminal:
Commit 5c5cf7c
Johan Mattsson - 2014-10-28T13:01:53+00:00
5c5cf7cbe7c6a0d97d8bcaf2c5d0575404bee091johan.mattsson.m@gmail.com

Always include posix.vapi

Changed files (7)

Diff

diff --git a/dodo.py b/dodo.pyindex 79ff54d..b54bba3 100644--- a/dodo.py+++ b/dodo.py@@ -54,7 +54,8 @@ LIBS = [  if not config.POSIXVALA:     LIBBIRD_XML_LIBS = [-        'glib-2.0'+        'glib-2.0',+	'posix'     ] else:     LIBBIRD_XML_LIBS = [diff --git a/libbirdxml/Attribute.vala b/libbirdxml/Attribute.valaindex e8170d0..af242fc 100644--- a/libbirdxml/Attribute.vala+++ b/libbirdxml/Attribute.vala@@ -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 (); }  }diff --git a/libbirdxml/Attributes.vala b/libbirdxml/Attributes.valaindex b82c127..f711ecf 100644--- a/libbirdxml/Attributes.vala+++ b/libbirdxml/Attributes.vala@@ -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 (); }  }diff --git a/libbirdxml/Tag.vala b/libbirdxml/Tag.valaindex ff88438..0d4db62 100644--- a/libbirdxml/Tag.vala+++ b/libbirdxml/Tag.vala@@ -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 (); }  }diff --git a/libbirdxml/Xml.vala b/libbirdxml/Xml.valaindex 87ad225..497ca9e 100644--- a/libbirdxml/Xml.vala+++ b/libbirdxml/Xml.vala@@ -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 (); }  }diff --git a/libbirdxml/XmlString.vala b/libbirdxml/XmlString.valaindex 1aaa458..3424870 100644--- a/libbirdxml/XmlString.vala+++ b/libbirdxml/XmlString.vala@@ -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 (); }  }diff --git a/scripts/build.py b/scripts/build.pyindex 6c53364..c88360d 100644--- a/scripts/build.py+++ b/scripts/build.py@@ -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 + """ \

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112