Sha256: 0d773935d84355ad9e6bcfbf238c2763d70453876642a5bfbd211dbae2092d7c
Contents?: true
Size: 1.16 KB
Versions: 12
Compression:
Stored size: 1.16 KB
Contents
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */ /********************************************************************** rbgobj_typeplugin.c - $Author: mutoh $ $Date: 2003/02/01 16:03:09 $ created at: Mon Aug 5 00:42:09 JST 2002 Copyright (C) 2002,2003 Masahiro Sakai **********************************************************************/ #include "rbgprivate.h" static VALUE use(VALUE self) { g_type_plugin_use(G_TYPE_PLUGIN(RVAL2GOBJ(self))); return self; } static VALUE unuse(VALUE self) { g_type_plugin_unuse(G_TYPE_PLUGIN(RVAL2GOBJ(self))); return self; } #if 0 void g_type_plugin_complete_type_info (GTypePlugin *plugin, GType g_type, GTypeInfo *info, GTypeValueTable *value_table); void g_type_plugin_complete_interface_info (GTypePlugin *plugin, GType interface_type, GType instance_type, GInterfaceInfo *info); #endif void Init_gobject_gtypeplugin() { VALUE iTypePlugin = G_DEF_INTERFACE(G_TYPE_TYPE_PLUGIN, "TypePlugin", mGLib); rb_define_method(iTypePlugin, "use", use, 0); rb_define_method(iTypePlugin, "unuse", unuse, 0); }
Version data entries
12 entries across 12 versions & 1 rubygems