update for use with non-null types, patch by Andreas Brauchli
authorJuerg Billeter <j@bitron.ch>
Mon, 14 Apr 2008 21:13:57 +0000 (21:13 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 14 Apr 2008 21:13:57 +0000 (21:13 +0000)
2008-04-14  Juerg Billeter  <j@bitron.ch>

* vapi/libxml-2.0.vapi: update for use with non-null types,
  patch by Andreas Brauchli

svn path=/trunk/; revision=1234

ChangeLog
vapi/libxml-2.0.vapi

index bf783be..52be042 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-04-14  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/libxml-2.0.vapi: update for use with non-null types,
+         patch by Andreas Brauchli
+
+2008-04-14  Jürg Billeter  <j@bitron.ch>
+
        * vapi/sqlite3.vapi: update for use with non-null types,
          patch by Phil Housley
 
index 3c68bf5..3db1101 100644 (file)
@@ -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);