Mercurial > pidgin.yaz
diff libpurple/xmlnode.h @ 25052:efde7e6ed5f2
There's no reason for these to not be const is there? This doesn't
break API compatibility in my mind. Does anyone think it does?
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 03 Feb 2009 18:56:17 +0000 |
parents | eb0f36c3a58f |
children | 4b8c4870b13a af42303654a5 |
line wrap: on
line diff
--- a/libpurple/xmlnode.h Tue Feb 03 18:53:04 2009 +0000 +++ b/libpurple/xmlnode.h Tue Feb 03 18:56:17 2009 +0000 @@ -243,7 +243,7 @@ * @param node The node to get the prefix from * @return The prefix of this node */ -const char *xmlnode_get_prefix(xmlnode *node); +const char *xmlnode_get_prefix(const xmlnode *node); /** * Returns the node in a string of xml. @@ -254,7 +254,7 @@ * @return The node represented as a string. You must * g_free this string when finished using it. */ -char *xmlnode_to_str(xmlnode *node, int *len); +char *xmlnode_to_str(const xmlnode *node, int *len); /** * Returns the node in a string of human readable xml. @@ -266,7 +266,7 @@ * tab and new line characters. You must * g_free this string when finished using it. */ -char *xmlnode_to_formatted_str(xmlnode *node, int *len); +char *xmlnode_to_formatted_str(const xmlnode *node, int *len); /** * Creates a node from a string of XML. Calling this on the