[libxml2] Fix const qualifyer to definition of xmlBufferDetach
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix const qualifyer to definition of xmlBufferDetach
- Date: Mon, 13 Aug 2012 10:04:05 +0000 (UTC)
commit 3b666224623d7b9dc7855073fe0bad7d4a90ff93
Author: Daniel Veillard <veillard redhat com>
Date: Mon Aug 13 17:49:15 2012 +0800
Fix const qualifyer to definition of xmlBufferDetach
For https://bugzilla.gnome.org/show_bug.cgi?id=676629
As the buffer is beng mdified by the call the const doesn't make
sense.
include/libxml/tree.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/include/libxml/tree.h b/include/libxml/tree.h
index 8f4e28a..967748a 100644
--- a/include/libxml/tree.h
+++ b/include/libxml/tree.h
@@ -732,7 +732,7 @@ XMLPUBFUN void XMLCALL
XMLPUBFUN const xmlChar* XMLCALL
xmlBufferContent (const xmlBufferPtr buf);
XMLPUBFUN xmlChar* XMLCALL
- xmlBufferDetach (const xmlBufferPtr buf);
+ xmlBufferDetach (xmlBufferPtr buf);
XMLPUBFUN void XMLCALL
xmlBufferSetAllocationScheme(xmlBufferPtr buf,
xmlBufferAllocationScheme scheme);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]