| 1 | /* This file is part of the WebKit open source project. |
| 2 | |
| 3 | This library is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU Library General Public |
| 5 | License as published by the Free Software Foundation; either |
| 6 | version 2 of the License, or (at your option) any later version. |
| 7 | |
| 8 | This library is distributed in the hope that it will be useful, |
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 11 | Library General Public License for more details. |
| 12 | |
| 13 | You should have received a copy of the GNU Library General Public License |
| 14 | along with this library; see the file COPYING.LIB. If not, write to |
| 15 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 16 | Boston, MA 02110-1301, USA. |
| 17 | */ |
| 18 | |
| 19 | #ifndef webkitdomautocleanups_h |
| 20 | #define webkitdomautocleanups_h |
| 21 | |
| 22 | #include <glib-object.h> |
| 23 | |
| 24 | #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC |
| 25 | #ifndef __GI_SCANNER__ |
| 26 | |
| 27 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMAttr, g_object_unref) |
| 28 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMBlob, g_object_unref) |
| 29 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMCDATASection, g_object_unref) |
| 30 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMCSSRule, g_object_unref) |
| 31 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMCSSRuleList, g_object_unref) |
| 32 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMCSSStyleDeclaration, g_object_unref) |
| 33 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMCSSStyleSheet, g_object_unref) |
| 34 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMCSSValue, g_object_unref) |
| 35 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMCharacterData, g_object_unref) |
| 36 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMClientRect, g_object_unref) |
| 37 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMClientRectList, g_object_unref) |
| 38 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMComment, g_object_unref) |
| 39 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMDOMImplementation, g_object_unref) |
| 40 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMDOMWindow, g_object_unref) |
| 41 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMDocument, g_object_unref) |
| 42 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMDocumentFragment, g_object_unref) |
| 43 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMDocumentType, g_object_unref) |
| 44 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMElement, g_object_unref) |
| 45 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMEvent, g_object_unref) |
| 46 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMEventTarget, g_object_unref) |
| 47 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMFile, g_object_unref) |
| 48 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMFileList, g_object_unref) |
| 49 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLAnchorElement, g_object_unref) |
| 50 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLAppletElement, g_object_unref) |
| 51 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLAreaElement, g_object_unref) |
| 52 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLBRElement, g_object_unref) |
| 53 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLBaseElement, g_object_unref) |
| 54 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLBodyElement, g_object_unref) |
| 55 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLButtonElement, g_object_unref) |
| 56 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLCanvasElement, g_object_unref) |
| 57 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLCollection, g_object_unref) |
| 58 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLDListElement, g_object_unref) |
| 59 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLDirectoryElement, g_object_unref) |
| 60 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLDivElement, g_object_unref) |
| 61 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLDocument, g_object_unref) |
| 62 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLElement, g_object_unref) |
| 63 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLEmbedElement, g_object_unref) |
| 64 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLFieldSetElement, g_object_unref) |
| 65 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLFontElement, g_object_unref) |
| 66 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLFormElement, g_object_unref) |
| 67 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLFrameElement, g_object_unref) |
| 68 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLFrameSetElement, g_object_unref) |
| 69 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLHRElement, g_object_unref) |
| 70 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLHeadElement, g_object_unref) |
| 71 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLHeadingElement, g_object_unref) |
| 72 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLHtmlElement, g_object_unref) |
| 73 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLIFrameElement, g_object_unref) |
| 74 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLImageElement, g_object_unref) |
| 75 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLInputElement, g_object_unref) |
| 76 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLLIElement, g_object_unref) |
| 77 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLLabelElement, g_object_unref) |
| 78 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLLegendElement, g_object_unref) |
| 79 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLLinkElement, g_object_unref) |
| 80 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLMapElement, g_object_unref) |
| 81 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLMarqueeElement, g_object_unref) |
| 82 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLMenuElement, g_object_unref) |
| 83 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLMetaElement, g_object_unref) |
| 84 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLModElement, g_object_unref) |
| 85 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLOListElement, g_object_unref) |
| 86 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLObjectElement, g_object_unref) |
| 87 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLOptGroupElement, g_object_unref) |
| 88 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLOptionElement, g_object_unref) |
| 89 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLOptionsCollection, g_object_unref) |
| 90 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLParagraphElement, g_object_unref) |
| 91 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLParamElement, g_object_unref) |
| 92 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLPreElement, g_object_unref) |
| 93 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLQuoteElement, g_object_unref) |
| 94 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLScriptElement, g_object_unref) |
| 95 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLSelectElement, g_object_unref) |
| 96 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLStyleElement, g_object_unref) |
| 97 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLTableCaptionElement, g_object_unref) |
| 98 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLTableCellElement, g_object_unref) |
| 99 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLTableColElement, g_object_unref) |
| 100 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLTableElement, g_object_unref) |
| 101 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLTableRowElement, g_object_unref) |
| 102 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLTableSectionElement, g_object_unref) |
| 103 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLTextAreaElement, g_object_unref) |
| 104 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLTitleElement, g_object_unref) |
| 105 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMHTMLUListElement, g_object_unref) |
| 106 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMKeyboardEvent, g_object_unref) |
| 107 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMMediaList, g_object_unref) |
| 108 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMMouseEvent, g_object_unref) |
| 109 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMNamedNodeMap, g_object_unref) |
| 110 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMNode, g_object_unref) |
| 111 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMNodeFilter, g_object_unref) |
| 112 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMNodeIterator, g_object_unref) |
| 113 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMNodeList, g_object_unref) |
| 114 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMObject, g_object_unref) |
| 115 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMProcessingInstruction, g_object_unref) |
| 116 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMRange, g_object_unref) |
| 117 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMStyleSheet, g_object_unref) |
| 118 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMStyleSheetList, g_object_unref) |
| 119 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMText, g_object_unref) |
| 120 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMTreeWalker, g_object_unref) |
| 121 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMUIEvent, g_object_unref) |
| 122 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMWheelEvent, g_object_unref) |
| 123 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMXPathExpression, g_object_unref) |
| 124 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMXPathNSResolver, g_object_unref) |
| 125 | G_DEFINE_AUTOPTR_CLEANUP_FUNC (WebKitDOMXPathResult, g_object_unref) |
| 126 | |
| 127 | #endif |
| 128 | #endif |
| 129 | |
| 130 | #endif |
| 131 | |