root/ext/-test-/win32/dln/dlntest.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. __declspec
  2. Init_dln

#include <ruby.h>

extern __declspec(dllimport) void dlntest_ordinal(void);

static VALUE
dln_dlntest(VALUE self)
{
    dlntest_ordinal();
    return self;
}

void
Init_dln(void)
{
    VALUE m = rb_define_module_under(rb_define_module("Bug"), "Win32");
    rb_define_module_function(m, "dlntest", dln_dlntest, 0);
}

/* [previous][next][first][last][top][bottom][index][help] */