/src/irssi/subprojects/glib-2.74.7/glib/glib-private.c
Line | Count | Source |
1 | | /* GLIB - Library of useful routines for C programming |
2 | | * Copyright (C) 2011 Red Hat, Inc. |
3 | | * |
4 | | * SPDX-License-Identifier: LGPL-2.1-or-later |
5 | | * |
6 | | * This library is free software; you can redistribute it and/or |
7 | | * modify it under the terms of the GNU Lesser General Public |
8 | | * License as published by the Free Software Foundation; either |
9 | | * version 2.1 of the License, or (at your option) any later version. |
10 | | * |
11 | | * This library is distributed in the hope that it will be useful, |
12 | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 | | * Lesser General Public License for more details. |
15 | | * |
16 | | * You should have received a copy of the GNU Lesser General Public |
17 | | * License along with this library; if not, see <http://www.gnu.org/licenses/>. |
18 | | * |
19 | | * Author: Colin Walters <walters@verbum.org> |
20 | | */ |
21 | | |
22 | | #include "config.h" |
23 | | |
24 | | #include "glib-private.h" |
25 | | #include "glib-init.h" |
26 | | |
27 | | /** |
28 | | * glib__private__: |
29 | | * @arg: Do not use this argument |
30 | | * |
31 | | * Do not call this function; it is used to share private |
32 | | * API between glib, gobject, and gio. |
33 | | */ |
34 | | GLibPrivateVTable * |
35 | | glib__private__ (void) |
36 | 8 | { |
37 | 8 | static GLibPrivateVTable table = { |
38 | 8 | g_wakeup_new, |
39 | 8 | g_wakeup_free, |
40 | 8 | g_wakeup_get_pollfd, |
41 | 8 | g_wakeup_signal, |
42 | 8 | g_wakeup_acknowledge, |
43 | | |
44 | 8 | g_get_worker_context, |
45 | | |
46 | 8 | g_check_setuid, |
47 | 8 | g_main_context_new_with_next_id, |
48 | | |
49 | 8 | g_dir_open_with_errno, |
50 | 8 | g_dir_new_from_dirp, |
51 | | |
52 | 8 | glib_init, |
53 | | |
54 | | #ifdef G_OS_WIN32 |
55 | | g_win32_stat_utf8, |
56 | | g_win32_lstat_utf8, |
57 | | g_win32_readlink_utf8, |
58 | | g_win32_fstat, |
59 | | g_win32_find_helper_executable_path, |
60 | | g_win32_reopen_noninherited, |
61 | | g_win32_handle_is_socket, |
62 | | #endif |
63 | 8 | }; |
64 | | |
65 | 8 | return &table; |
66 | 8 | } |