Sha256: ef0fd6ea6751d31b0b5650c937247bd97da5adcecd8cd52dc5f63572d944d2ae
Contents?: true
Size: 1.82 KB
Versions: 41
Compression:
Stored size: 1.82 KB
Contents
/* Lasem * * Copyright © 2010 Emmanuel Pacaud * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General * Public License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. * * Author: * Emmanuel Pacaud <emmanuel@gnome.org> */ #include <lsmdomnodelist.h> #include <lsmdomnode.h> /** * SECTION:lsmdomnodelist * @short_description: Base class for DOM node lists */ /* LsmDomNodeList implementation */ /** * lsm_dom_node_list_get_item: * @list: a #LsmDomNodeList * @index: id of the item to retrieve * * Returns: (transfer none): the node corresponding to index, NULL on error. */ LsmDomNode * lsm_dom_node_list_get_item (LsmDomNodeList *list, unsigned int index) { g_return_val_if_fail (LSM_IS_DOM_NODE_LIST (list), NULL); return LSM_DOM_NODE_LIST_GET_CLASS (list)->get_item (list, index); } unsigned int lsm_dom_node_list_get_length (LsmDomNodeList *list) { g_return_val_if_fail (LSM_IS_DOM_NODE_LIST (list), 0); return LSM_DOM_NODE_LIST_GET_CLASS (list)->get_length (list); } static void lsm_dom_node_list_init (LsmDomNodeList *list) { } /* LsmDomNodeList class */ static void lsm_dom_node_list_class_init (LsmDomNodeListClass *klass) { } G_DEFINE_ABSTRACT_TYPE (LsmDomNodeList, lsm_dom_node_list, G_TYPE_OBJECT)
Version data entries
41 entries across 41 versions & 1 rubygems