From: Juerg Billeter Date: Mon, 14 Apr 2008 21:13:57 +0000 (+0000) Subject: update for use with non-null types, patch by Andreas Brauchli X-Git-Tag: VALA_0_3_1~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1454d1a951fbd27a2eb6e2e1dc9fd599e9379ee4;p=platform%2Fupstream%2Fvala.git update for use with non-null types, patch by Andreas Brauchli 2008-04-14 Juerg Billeter * vapi/libxml-2.0.vapi: update for use with non-null types, patch by Andreas Brauchli svn path=/trunk/; revision=1234 --- diff --git a/ChangeLog b/ChangeLog index bf783be..52be042 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-04-14 Jürg Billeter + * vapi/libxml-2.0.vapi: update for use with non-null types, + patch by Andreas Brauchli + +2008-04-14 Jürg Billeter + * vapi/sqlite3.vapi: update for use with non-null types, patch by Phil Housley diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi index 3c68bf5..3db1101 100644 --- a/vapi/libxml-2.0.vapi +++ b/vapi/libxml-2.0.vapi @@ -180,16 +180,16 @@ namespace Xml { public static Doc* parse_memory (string buffer, int size); [CCode (cname = "xmlReadDoc")] - public static Doc* read_doc (string cur, string url = null, string encoding = null, int options = 0); + public static Doc* read_doc (string cur, string? url = null, string? encoding = null, int options = 0); [CCode (cname = "xmlReadFd")] - public static Doc* read_fd (int fd, string base_url = null, string encoding = null, int options = 0); + public static Doc* read_fd (int fd, string? base_url = null, string? encoding = null, int options = 0); [CCode (cname = "xmlReadFile")] - public static Doc* read_file (string filename, string encoding = null, int options = 0); + public static Doc* read_file (string filename, string? encoding = null, int options = 0); [CCode (cname = "xmlReadMemory")] - public static Doc* read_memory (string text, int len, string url = null, string encoding = null, int options = 0); + public static Doc* read_memory (string text, int len, string? url = null, string? encoding = null, int options = 0); } [CCode (cname = "xmlParserOption", cprefix = "XML_PARSE_", cheader_filename = "libxml/parser.h")] @@ -363,10 +363,10 @@ namespace Xml { public Node* new_fragment (); [CCode (cname = "xmlNewDocNode")] - public Node* new_node (Ns* ns, string name, string content = null); + public Node* new_node (Ns* ns, string name, string? content = null); [CCode (cname = "xmlNewDocNodeEatName")] - public Node* new_node_eat_name (Ns* ns, string# name, string content = null); + public Node* new_node_eat_name (Ns* ns, string# name, string? content = null); [CCode (cname = "xmlNewDocPI")] public Node* new_pi (string name, string content); @@ -556,7 +556,7 @@ namespace Xml { public int is_blank (); [CCode (cname = "xmlNewChild")] - public Node* new_child (Ns* ns, string name, string content = null); + public Node* new_child (Ns* ns, string name, string? content = null); [CCode (cname = "xmlNewNs")] public Ns* new_ns (string href, string prefix);