Sha256: 28b84efbd9281ee6dc1b9dbdbcaf7b5c1f21ff7cfc3f4fd490e0caf56506a227
Contents?: true
Size: 1.49 KB
Versions: 1
Compression:
Stored size: 1.49 KB
Contents
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */ /* * Copyright (C) 2014-2015 Ruby-GNOME2 Project Team * * 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.1 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., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301 USA */ #include "rb-gio2.h" #define RG_TARGET_NAMESPACE rb_mGio #ifdef _WIN32 /* Workaround: See glib2/ext/glib2/rbglib.c for details. */ BOOL WINAPI DllMain(G_GNUC_UNUSED HINSTANCE hinstDLL, G_GNUC_UNUSED DWORD fdwReason, G_GNUC_UNUSED LPVOID lpvReserved); BOOL WINAPI DllMain(G_GNUC_UNUSED HINSTANCE hinstDLL, G_GNUC_UNUSED DWORD fdwReason, G_GNUC_UNUSED LPVOID lpvReserved) { return TRUE; } #endif void Init_gio2 (void) { VALUE RG_TARGET_NAMESPACE; RG_TARGET_NAMESPACE = rb_define_module("Gio"); rb_gio2_init_application(RG_TARGET_NAMESPACE); rb_gio2_init_pollable_source(RG_TARGET_NAMESPACE); }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gio2-3.5.1 | ext/gio2/rb-gio2.c |