summaryrefslogtreecommitdiff
path: root/ext/dom/documentfragment.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-08-14 08:39:05 +0000
committerAntony Dovgal <tony2001@php.net>2008-08-14 08:39:05 +0000
commite18b1c00b67e2f7040adf981e34a8dd7c90ac341 (patch)
treefae771a722df50636631aee7badbc0bdd8464483 /ext/dom/documentfragment.c
parentfcf11ba65e59fcce72a91fcb14a54d2c12698197 (diff)
downloadphp-git-e18b1c00b67e2f7040adf981e34a8dd7c90ac341.tar.gz
MFH: fix ws, cs and folding
Diffstat (limited to 'ext/dom/documentfragment.c')
-rw-r--r--ext/dom/documentfragment.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/ext/dom/documentfragment.c b/ext/dom/documentfragment.c
index 326ae7145c..8be9ed1fcf 100644
--- a/ext/dom/documentfragment.c
+++ b/ext/dom/documentfragment.c
@@ -27,7 +27,6 @@
#if HAVE_LIBXML && HAVE_DOM
#include "php_dom.h"
-
/* {{{ arginfo */
static
ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_documentfragement_construct, 0, 0, 0)
@@ -88,7 +87,8 @@ PHP_METHOD(domdocumentfragment, __construct)
/* php_dom_xmlSetTreeDoc is a custom implementation of xmlSetTreeDoc
needed for hack in appendXML due to libxml bug - no need to share this function */
-static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) {
+static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) /* {{{ */
+{
xmlAttrPtr prop;
xmlNodePtr cur;
@@ -117,6 +117,7 @@ static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) {
tree->doc = doc;
}
}
+/* }}} */
/* {{{ proto void DOMDocumentFragment::appendXML(string data); */
PHP_METHOD(domdocumentfragment, appendXML) {
@@ -154,5 +155,15 @@ PHP_METHOD(domdocumentfragment, appendXML) {
RETURN_TRUE;
}
+/* }}} */
#endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */