Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:17:40

0001 /* GObject - GLib Type, Object, Parameter and Signal Library
0002  * Copyright (C) 2001 Red Hat, Inc.
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-or-later
0005  *
0006  * This library is free software; you can redistribute it and/or
0007  * modify it under the terms of the GNU Lesser General Public
0008  * License as published by the Free Software Foundation; either
0009  * version 2.1 of the License, or (at your option) any later version.
0010  *
0011  * This library is distributed in the hope that it will be useful,
0012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0014  * Lesser General Public License for more details.
0015  *
0016  * You should have received a copy of the GNU Lesser General
0017  * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
0018  */
0019 #ifndef __G_SOURCECLOSURE_H__
0020 #define __G_SOURCECLOSURE_H__
0021 
0022 #if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
0023 #error "Only <glib-object.h> can be included directly."
0024 #endif
0025 
0026 #include <gobject/gclosure.h>
0027 #include <gobject/glib-types.h>
0028 
0029 G_BEGIN_DECLS
0030 
0031 GOBJECT_AVAILABLE_IN_ALL
0032 void g_source_set_closure        (GSource  *source,
0033                   GClosure *closure);
0034 
0035 GOBJECT_AVAILABLE_IN_ALL
0036 void g_source_set_dummy_callback (GSource  *source);
0037 
0038 G_END_DECLS
0039 
0040 #endif /* __G_SOURCECLOSURE_H__ */