Sha256: 8157d31e8e95f2ca4491b9c71c3d2e2a5f146c0385f3ddfef08539354950e20d

Contents?: true

Size: 941 Bytes

Versions: 25

Compression:

Stored size: 941 Bytes

Contents

/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
/************************************************

   rbgobj_fundamental.c -

   Copyright (C) 2007 Ruby-GNOME2 Project Team
************************************************/

#include "rbgobject.h"
#include "rbgprivate.h"

static GList *tables = NULL;

void
rbgobj_fund_define_fundamental(RGFundamental *fundamental)
{
    RGConvertTable *table;

    table = g_new0(RGConvertTable, 1);
    table->type = fundamental->type;
    table->get_superclass = fundamental->get_superclass;
    table->type_init_hook = fundamental->type_init_hook;
    table->rvalue2gvalue = fundamental->rvalue2gvalue;
    table->gvalue2rvalue = fundamental->gvalue2rvalue;
    table->initialize = fundamental->initialize;
    table->robj2instance = fundamental->robj2instance;
    table->instance2robj = fundamental->instance2robj;
    RG_DEF_CONVERSION(table);
    tables = g_list_prepend(tables, table);
}

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
glib2-0.90.3 ext/glib2/rbgobj_fundamental.c
glib2-0.90.3-x86-mingw32 ext/glib2/rbgobj_fundamental.c
glib2-0.90.2 ext/glib2/rbgobj_fundamental.c
glib2-0.90.2-x86-mingw32 ext/glib2/rbgobj_fundamental.c
glib2-0.20.0 src/rbgobj_fundamental.c