| Returns : | a xmlChar *
diff --git a/doc/html/libxml-c14n.html b/doc/html/libxml-c14n.html
index d79d2d8a..83ca3e5a 100644
--- a/doc/html/libxml-c14n.html
+++ b/doc/html/libxml-c14n.html
@@ -70,8 +70,8 @@ int xmlC14NExecute
int with_comments,
xmlOutputBufferPtr buf);
Dumps the canonized image of given XML document into the provided buffer.
-For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
-"Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)
+For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
+"Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)
| doc : | the XML document for canonization
| | nodes : | the nodes set to be included in the canonized image
@@ -94,8 +94,8 @@ For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
int with_comments,
xmlChar **doc_txt_ptr);
Dumps the canonized image of given XML document into memory.
-For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
-"Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)
+For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
+"Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)
| doc : | the XML document for canonization
| | nodes : | the nodes set to be included in the canonized image
@@ -119,8 +119,8 @@ For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
const char *filename,
int compression);
Dumps the canonized image of given XML document into the file.
-For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
-"Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)
+For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
+"Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)
| doc : | the XML document for canonization
| | nodes : | the nodes set to be included in the canonized image
@@ -156,8 +156,8 @@ For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
int with_comments,
xmlOutputBufferPtr buf);
Dumps the canonized image of given XML document into the provided buffer.
-For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
-"Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)
+For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or
+"Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)
| doc : | the XML document for canonization
| | is_visible_callback : | the function to use to determine is node visible
diff --git a/doc/html/libxml-debugXML.html b/doc/html/libxml-debugXML.html
index 4931e1cb..0c5a9567 100644
--- a/doc/html/libxml-debugXML.html
+++ b/doc/html/libxml-debugXML.html
@@ -248,7 +248,7 @@ Prints result to the output FILE
char *arg,
xmlNodePtr node,
xmlNodePtr node2);
-Implements the XML shell function "ls"
+Implements the XML shell function "ls"
Does an Unix like listing of the given node (like a directory)
| ctxt : | the shell context
@@ -260,7 +260,7 @@ Does an Unix like listing of the given node (like a directory)
char *arg,
xmlNodePtr node,
xmlNodePtr node2);
-Implements the XML shell function "base"
+Implements the XML shell function "base"
dumps the current XML base of the node
| ctxt : | the shell context
@@ -272,7 +272,7 @@ dumps the current XML base of the node
char *arg,
xmlNodePtr node,
xmlNodePtr node2);
-Implements the XML shell function "dir"
+Implements the XML shell function "dir"
dumps informations about the node (namespace, attributes, content).
| ctxt : | the shell context
@@ -284,7 +284,7 @@ dumps informations about the node (namespace, attributes, content).
char *arg,
xmlNodePtr node,
xmlNodePtr node2);
-Implements the XML shell function "cat"
+Implements the XML shell function "cat"
dumps the serialization node content (XML or HTML).
| ctxt : | the shell context
@@ -296,7 +296,7 @@ dumps the serialization node content (XML or HTML).
char *filename,
xmlNodePtr node,
xmlNodePtr node2);
-Implements the XML shell function "load"
+Implements the XML shell function "load"
loads a new document specified by the filename
| ctxt : | the shell context
@@ -308,7 +308,7 @@ loads a new document specified by the filename
char *filename,
xmlNodePtr node,
xmlNodePtr node2);
-Implements the XML shell function "write"
+Implements the XML shell function "write"
Write the current node to the filename, it saves the serialization
of the subtree under the node specified
@@ -321,7 +321,7 @@ of the subtree under the node specified
char *filename,
xmlNodePtr node,
xmlNodePtr node2);
-Implements the XML shell function "save"
+Implements the XML shell function "save"
Write the current document to the filename, or it's original name
| ctxt : | the shell context
@@ -333,7 +333,7 @@ Write the current document to the filename, or it's original name
char *dtd,
xmlNodePtr node,
xmlNodePtr node2);
-Implements the XML shell function "validate"
+Implements the XML shell function "validate"
Validate the document, if a DTD path is provided, then the validation
is done against the given DTD.
@@ -346,7 +346,7 @@ is done against the given DTD.
char *arg,
xmlNodePtr tree,
xmlNodePtr node2);
-Implements the XML shell function "du"
+Implements the XML shell function "du"
show the structure of the subtree under node tree
If tree is null, the command works on the current node.
@@ -359,7 +359,7 @@ If tree is null, the command works on the current node.
char *buffer,
xmlNodePtr node,
xmlNodePtr node2);
-Implements the XML shell function "pwd"
+Implements the XML shell function "pwd"
Show the full path from the root to the node, if needed building
thumblers when similar elements exists at a given ancestor level.
The output is compatible with XPath commands.
diff --git a/doc/html/libxml-encoding.html b/doc/html/libxml-encoding.html
index dee2596e..6259d2c2 100644
--- a/doc/html/libxml-encoding.html
+++ b/doc/html/libxml-encoding.html
@@ -257,7 +257,7 @@ that the comparison is case insensitive accordingly to the section
| | Returns : | one of the XML_CHAR_ENCODING_... values or XML_CHAR_ENCODING_NONE
if not recognized.
|
xmlGetCharEncodingName ()const char* xmlGetCharEncodingName (xmlCharEncoding enc);
-The "canonical" name for XML encoding.
+The "canonical" name for XML encoding.
C.f. http://www.w3.org/TR/REC-xmlcharencoding
Section 4.3.3 Character Encoding in Entities
diff --git a/doc/html/libxml-globals.html b/doc/html/libxml-globals.html
index 647e5b4c..e1f7689a 100644
--- a/doc/html/libxml-globals.html
+++ b/doc/html/libxml-globals.html
@@ -297,7 +297,7 @@ Enabled by default
|
xmlTreeIndentString#define xmlTreeIndentString
-The string used to do one-level indent. By default is equal to " " (two spaces)
+The string used to do one-level indent. By default is equal to " " (two spaces)
xmlThrDefTreeIndentString ()const char* xmlThrDefTreeIndentString (const char *v);
diff --git a/doc/html/libxml-nanoftp.html b/doc/html/libxml-nanoftp.html
index 002e07b3..bc817d1b 100644
--- a/doc/html/libxml-nanoftp.html
+++ b/doc/html/libxml-nanoftp.html
@@ -104,7 +104,7 @@ A callback for the xmlNanoFTPList command.
Note that only one of year and day:minute are specified.
| userData : | user provided data for the callback
- | | filename : | the file name (including "->" when links are shown)
+ | | filename : | the file name (including "->" when links are shown)
| | attrib : | the attribute string
| | owner : | the owner string
| | group : | the group string
diff --git a/doc/html/libxml-parser.html b/doc/html/libxml-parser.html
index dc5db0c8..0a061743 100644
--- a/doc/html/libxml-parser.html
+++ b/doc/html/libxml-parser.html
@@ -297,7 +297,7 @@ void xmlSetExtern
xmlParserCtxtPtr ctxt);
DetailsXML_DEFAULT_VERSION#define XML_DEFAULT_VERSION "1.0"
+ DetailsXML_DEFAULT_VERSION#define XML_DEFAULT_VERSION "1.0"
The default version of XML used: 1.0
@@ -972,7 +972,7 @@ mixed content.
This function is provided as a way to force the standard behavior
on 1.X libs and to switch back to the old mode for compatibility when
running 1.X client code on 2.X . Upgrade of 1.X code should be done
-by using xmlIsBlankNode() commodity function to detect the "empty"
+by using xmlIsBlankNode() commodity function to detect the "empty"
nodes generated.
This value also affect autogeneration of indentation when saving code
if blanks sections are kept, indentation is not generated.
@@ -1142,7 +1142,7 @@ If sax is NULL, fallback to the default DOM tree building routines.
[78] extParsedEnt ::= TextDecl? content
-This correspond to a "Well Balanced" chunk
+This correspond to a "Well Balanced" chunk
| sax : | the SAX handler block
| | filename : | the filename
@@ -1152,7 +1152,7 @@ parse an XML external entity out of context and build a tree.
[78] extParsedEnt ::= TextDecl? content
-This correspond to a "Well Balanced" chunk
+This correspond to a "Well Balanced" chunk
| filename : | the filename
| | Returns : | the resulting document tree
diff --git a/doc/html/libxml-parserInternals.html b/doc/html/libxml-parserInternals.html
index 0053ba46..1908fcf6 100644
--- a/doc/html/libxml-parserInternals.html
+++ b/doc/html/libxml-parserInternals.html
@@ -141,7 +141,7 @@ void xmlParseElemen
xmlChar* xmlParseVersionNum (xmlParserCtxtPtr ctxt);
xmlChar* xmlParseVersionInfo (xmlParserCtxtPtr ctxt);
xmlChar* xmlParseEncName (xmlParserCtxtPtr ctxt);
-xmlChar* xmlParseEncodingDecl (xmlParserCtxtPtr ctxt);
+const xmlChar* xmlParseEncodingDecl (xmlParserCtxtPtr ctxt);
int xmlParseSDDecl (xmlParserCtxtPtr ctxt);
void xmlParseXMLDecl (xmlParserCtxtPtr ctxt);
void xmlParseTextDecl (xmlParserCtxtPtr ctxt);
@@ -566,8 +566,8 @@ parse an XML Nmtoken.
xmlChar **orig);
parse a value for ENTITY declarations
-[9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' |
- "'" ([^%&'] | PEReference | Reference)* "'"
+[9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' |
+ "'" ([^%&'] | PEReference | Reference)* "'"
| ctxt : | an XML parser context
| | orig : | if non-NULL store a copy of the original entity value
@@ -577,8 +577,8 @@ parse a value for an attribute
Note: the parser won't do substitution of entities here, this
will be handled later in xmlStringGetNodeList
-[10] AttValue ::= '"' ([^<&"] | Reference)* '"' |
- "'" ([^<&'] | Reference)* "'"
+[10] AttValue ::= '"' ([^<&"] | Reference)* '"' |
+ "'" ([^<&'] | Reference)* "'"
3.3.3 Attribute-Value Normalization:
Before the value of an attribute is passed to the application or
@@ -589,7 +589,7 @@ checked for validity, the XML processor must normalize it as follows:
replacement text of the entity
- a whitespace character (x20, xD, xA, x9) is processed by
appending x20 to the normalized value, except that only a single
- x20 is appended for a "xDxA" sequence that is part of an external
+ x20 is appended for a "xDxA" sequence that is part of an external
parsed entity or the literal entity value of an internal parsed entity
- other characters are processed by appending them to the normalized value
If the declared value is not CDATA, then the XML processor must further
@@ -604,14 +604,14 @@ by a non-validating parser as if declared CDATA.
|
xmlParseSystemLiteral ()xmlChar* xmlParseSystemLiteral (xmlParserCtxtPtr ctxt);
parse an XML Literal
-[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")
+[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")
| ctxt : | an XML parser context
| | Returns : | the SystemLiteral parsed or NULL
|
xmlParsePubidLiteral ()xmlChar* xmlParsePubidLiteral (xmlParserCtxtPtr ctxt);
parse an XML public literal
-[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"
+[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"
| ctxt : | an XML parser context
| | Returns : | the PubidLiteral parsed or NULL.
@@ -620,9 +620,9 @@ parse an XML public literal
parse a CharData section.
if we are within a CDATA section ']]>' marks an end of section.
-The right angle bracket (>) may be represented using the string ">",
-and must, for compatibility, be escaped using ">" or a character
-reference when it appears in the string "]]>" in content, when that
+The right angle bracket (>) may be represented using the string ">",
+and must, for compatibility, be escaped using ">" or a character
+reference when it appears in the string "]]>" in content, when that
string is not marking the end of a CDATA section.
[14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)
@@ -651,8 +651,8 @@ NOTE: Productions [75] and [83] interact badly since [75] can generate
it is possible to return NULL and have publicID set.
|
xmlParseComment ()void xmlParseComment (xmlParserCtxtPtr ctxt);
Skip an XML (SGML) comment <!-- .... -->
- The spec says that "For compatibility, the string "--" (double-hyphen)
- must not occur within comments. "
+ The spec says that "For compatibility, the string "--" (double-hyphen)
+ must not occur within comments. "
[15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'
@@ -925,7 +925,7 @@ parse ENTITY references declarations
[ WFC: Entity Declared ]
In a document without any DTD, a document with only an internal DTD
subset which contains no parameter entity references, or a document
-with "standalone='yes'", the Name given in the entity reference
+with "standalone='yes'", the Name given in the entity reference
must match that in an entity declaration, except that well-formed
documents need not declare any of the following entities: amp, lt,
gt, apos, quot. The declaration of a parameter entity must precede
@@ -965,12 +965,12 @@ reference to itself, either directly or indirectly.
[ WFC: Entity Declared ]
In a document without any DTD, a document with only an internal DTD
subset which contains no parameter entity references, or a document
-with "standalone='yes'", ... ... The declaration of a parameter
+with "standalone='yes'", ... ... The declaration of a parameter
entity must precede any reference to it...
[ VC: Entity Declared ]
In a document with an external subset or external parameter entities
-with "standalone='no'", ... ... The declaration of a parameter entity
+with "standalone='no'", ... ... The declaration of a parameter entity
must precede any reference to it...
[ WFC: In DTD ]
@@ -1001,7 +1001,7 @@ to external entities.
[ WFC: No < in Attribute Values ]
The replacement text of any entity referred to directly or indirectly in
-an attribute value (other than "<") must not contain a <.
+an attribute value (other than "<") must not contain a <.
[ VC: Attribute Value Type ]
The attribute must have been declared; the value must be of the type
@@ -1104,12 +1104,12 @@ parse the XML version value.
|
xmlParseVersionInfo ()xmlChar* xmlParseVersionInfo (xmlParserCtxtPtr ctxt);
parse the XML version.
-[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")
+[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")
[25] Eq ::= S? '=' S?
| ctxt : | an XML parser context
- | | Returns : | the version string, e.g. "1.0"
+ | | Returns : | the version string, e.g. "1.0"
|
xmlParseEncName ()xmlChar* xmlParseEncName (xmlParserCtxtPtr ctxt);
parse the XML encoding name
@@ -1117,10 +1117,10 @@ parse the XML encoding name
| ctxt : | an XML parser context
| | Returns : | the encoding name value or NULL
- |
|
xmlParseEncodingDecl ()const xmlChar* xmlParseEncodingDecl (xmlParserCtxtPtr ctxt);
parse the XML encoding declaration
-[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")
+[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")
this setups the conversion filters.
@@ -1130,10 +1130,10 @@ this setups the conversion filters.
parse the XML standalone declaration
[32] SDDecl ::= S 'standalone' Eq
- (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"'))
+ (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"'))
[ VC: Standalone Document Declaration ]
-TODO The standalone document declaration must have the value "no"
+TODO The standalone document declaration must have the value "no"
if any external markup declarations contain declarations of:
- attributes with default values, if elements to which these
attributes apply appear in the document without specifications
@@ -1301,12 +1301,12 @@ reference to itself, either directly or indirectly.
[ WFC: Entity Declared ]
In a document without any DTD, a document with only an internal DTD
subset which contains no parameter entity references, or a document
-with "standalone='yes'", ... ... The declaration of a parameter
+with "standalone='yes'", ... ... The declaration of a parameter
entity must precede any reference to it...
[ VC: Entity Declared ]
In a document with an external subset or external parameter entities
-with "standalone='no'", ... ... The declaration of a parameter entity
+with "standalone='no'", ... ... The declaration of a parameter entity
must precede any reference to it...
[ WFC: In DTD ]
@@ -1368,7 +1368,7 @@ bytes in the input buffer. Implement the end of line normalization:
2.11 End-of-Line Handling
Wherever an external parsed entity or the literal entity value
of an internal parsed entity contains either the literal two-character
-sequence "xDxA" or a standalone literal xD, an XML processor
+sequence "xDxA" or a standalone literal xD, an XML processor
must pass to the application the single character xA.
This behavior can conveniently be produced by normalizing all
line breaks to xA on input, before parsing.)
diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html
index 36052df8..1ab10e5c 100644
--- a/doc/html/libxml-tree.html
+++ b/doc/html/libxml-tree.html
@@ -1253,7 +1253,7 @@ Free up all the structures associated to the chained namespaces.
|
xmlNewDoc ()xmlDocPtr xmlNewDoc (const xmlChar *version);
Creates a new XML document
- | version : | xmlChar string giving the version of XML "1.0"
+| version : | xmlChar string giving the version of XML "1.0"
| | Returns : | a new document
|
xmlFreeDoc ()void xmlFreeDoc (xmlDocPtr cur);
Free up all the structures used by a document, tree included.
@@ -1484,7 +1484,7 @@ Creation of a new node containing a CDATA block.
Creation of a new character reference node.
| doc : | the document
- | | name : | the char ref string, starting with # or "&# ... ;"
+ | | name : | the char ref string, starting with # or "&# ... ;"
| | Returns : | a pointer to the new node object.
|
xmlNewReference ()xmlNodePtr xmlNewReference (xmlDocPtr doc,
const xmlChar *name);
@@ -1902,14 +1902,14 @@ of the xml:space attribute or the one carried by the nearest
ancestor.
| cur : | the node being checked
- | | Returns : | -1 if xml:space is not inherited, 0 if "default", 1 if "preserve"
+ | | Returns : | -1 if xml:space is not inherited, 0 if "default", 1 if "preserve"
|
xmlNodeSetSpacePreserve ()void xmlNodeSetSpacePreserve (xmlNodePtr cur,
int val);
Set (or reset) the space preserving behaviour of a node, i.e. the
value of the xml:space attribute.
| cur : | the node being changed
- | | val : | the xml:space value ("0": default, 1: "preserve")
+ | | val : | the xml:space value ("0": default, 1: "preserve")
|
xmlNodeGetBase ()xmlChar* xmlNodeGetBase (xmlDocPtr doc,
xmlNodePtr cur);
Searches for the BASE URL. The code should work on both XML
@@ -2068,7 +2068,7 @@ Dump an XML/HTML node, recursive behaviour, children are printed too.
|
xmlSaveFile ()int xmlSaveFile (const char *filename,
xmlDocPtr cur);
Dump an XML document to a file. Will use compression if
-compiled in and enabled. If filename is "-" the stdout file is
+compiled in and enabled. If filename is "-" the stdout file is
used.
| filename : | the filename (or URL)
@@ -2078,7 +2078,7 @@ used.
xmlDocPtr cur,
int format);
Dump an XML document to a file. Will use compression if
-compiled in and enabled. If filename is "-" the stdout file is
+compiled in and enabled. If filename is "-" the stdout file is
used. If format is set then the document will be indented on output.
Note that format = 1 provide node indenting only if xmlIndentTreeOutput = 1
or xmlKeepBlanksDefault(0) was called
diff --git a/doc/html/libxml-uri.html b/doc/html/libxml-uri.html
index 4b271e57..8e32519a 100644
--- a/doc/html/libxml-uri.html
+++ b/doc/html/libxml-uri.html
@@ -93,7 +93,7 @@ RFC 2396
|
xmlParseURI ()xmlURIPtr xmlParseURI (const char *str);
Parse an URI
-URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
+URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
| str : | the URI string to analyze
| | Returns : | a newly build xmlURIPtr or NULL in case of error
@@ -102,7 +102,7 @@ URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
Parse an URI reference string and fills in the appropriate fields
of the uri structure
-URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
+URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]
| uri : | pointer to an URI structure
| | str : | the string to analyze
diff --git a/doc/html/libxml-xmlIO.html b/doc/html/libxml-xmlIO.html
index 56564444..704e18cf 100644
--- a/doc/html/libxml-xmlIO.html
+++ b/doc/html/libxml-xmlIO.html
@@ -234,7 +234,7 @@ Create a buffered parser input for progressive parsing
(const char *URI,
xmlCharEncoding enc);
Create a buffered parser input for the progressive parsing of a file
-If filename is "-' then we use stdin as the input.
+If filename is "-' then we use stdin as the input.
Automatic support for ZLIB/Compress compressed document is provided
by default if found at compile-time.
Do an encoding check if enc == XML_CHAR_ENCODING_NONE
@@ -353,7 +353,7 @@ Create a buffered parser output
xmlCharEncodingHandlerPtr encoder,
int compression);
Create a buffered output for the progressive saving of a file
-If filename is "-' then we use stdout as the output.
+If filename is "-' then we use stdout as the output.
Automatic support for ZLIB/Compress compressed document is provided
by default if found at compile-time.
TODO: currently if compression is set, the library only support
@@ -446,8 +446,8 @@ request. Non-static as is called from the output buffer creation routine. | post_uri : | The destination URI for the document
| | compression : | The compression desired for the document.
|
xmlRegisterHTTPPostCallbacks ()void xmlRegisterHTTPPostCallbacks (void);
-By default, libxml submits HTTP output requests using the "PUT" method.
-Calling this method changes the HTTP output method to use the "POST"
+By default, libxml submits HTTP output requests using the "PUT" method.
+Calling this method changes the HTTP output method to use the "POST"
method instead.
xmlNoNetExternalEntityLoader ()xmlParserInputPtr xmlNoNetExternalEntityLoader
diff --git a/doc/html/libxml-xmlmemory.html b/doc/html/libxml-xmlmemory.html
index a79409c0..320df0cd 100644
--- a/doc/html/libxml-xmlmemory.html
+++ b/doc/html/libxml-xmlmemory.html
@@ -67,10 +67,6 @@ void* xmlMemRealloc
size_t size);
void xmlMemFree (void *ptr);
char* xmlMemoryStrdup (const char *str);
-#define xmlMalloc (size)
-#define xmlMallocAtomic (size)
-#define xmlRealloc (ptr, size)
-#define xmlMemStrdup (str)
void* xmlMallocLoc (size_t size,
const char *file,
int line);
@@ -78,9 +74,16 @@ void* xmlReallocLoc
size_t size,
const char *file,
int line);
+void* xmlMallocAtomicLoc (size_t size,
+ const char *file,
+ int line);
char* xmlMemStrdupLoc (const char *str,
const char *file,
int line);
+#define xmlMalloc (size)
+#define xmlMallocAtomic (size)
+#define xmlRealloc (ptr, size)
+#define xmlMemStrdup (str)
DetailsDEBUG_MEMORY#define DEBUG_MEMORY
@@ -211,24 +214,6 @@ a str
| str : | the initial string pointer
| | Returns : | a pointer to the new string or NULL if allocation error occurred.
- |
xmlMalloc()#define xmlMalloc(size)
-Wrapper for the malloc() function used in the XML library.
-
- | size : | number of bytes to allocate
- |
xmlMallocAtomic()#define xmlMallocAtomic(size)
-Wrapper for the malloc() function used in the XML library for allocation
-of block not containing pointers to other areas.
-
- | size : | number of bytes to allocate
- |
xmlRealloc()#define xmlRealloc(ptr, size)
-Wrapper for the realloc() function used in the XML library.
-
- | ptr : | pointer to the existing allocated area
- | | size : | number of bytes to allocate
- |
xmlMemStrdup()#define xmlMemStrdup(str)
-Wrapper for the strdup() function, xmlStrdup() is usually preferred.
-
- | str : | pointer to the existing string
|
xmlMallocLoc ()void* xmlMallocLoc (size_t size,
const char *file,
int line);
@@ -247,6 +232,14 @@ a re
| | size : | an int specifying the size in byte to allocate.
| | file : | the file name or NULL
| | line : | the line number
+ |
xmlMallocAtomicLoc ()void* xmlMallocAtomicLoc (size_t size,
+ const char *file,
+ int line);
+a malloc() equivalent, with logging of the allocation info.
+
+ | size : | an int specifying the size in byte to allocate.
+ | | file : | the file name or NULL
+ | | line : | the line number
|
xmlMemStrdupLoc ()char* xmlMemStrdupLoc (const char *str,
const char *file,
int line);
@@ -256,4 +249,22 @@ a str
| | file : | the file name or NULL
| | line : | the line number
| | Returns : | a pointer to the new string or NULL if allocation error occurred.
+ |
xmlMalloc()#define xmlMalloc(size)
+Wrapper for the malloc() function used in the XML library.
+
+ | size : | number of bytes to allocate
+ |
xmlMallocAtomic()#define xmlMallocAtomic(size)
+Wrapper for the malloc() function used in the XML library for allocation
+of block not containing pointers to other areas.
+
+ | size : | number of bytes to allocate
+ |
xmlRealloc()#define xmlRealloc(ptr, size)
+Wrapper for the realloc() function used in the XML library.
+
+ | ptr : | pointer to the existing allocated area
+ | | size : | number of bytes to allocate
+ |
xmlMemStrdup()#define xmlMemStrdup(str)
+Wrapper for the strdup() function, xmlStrdup() is usually preferred.
+
+ | str : | pointer to the existing string
|
|
|
|
|
|
|
|
|
|