Ruby  1.9.3p392(2013-02-22revision39386)
dlntest.c
Go to the documentation of this file.
1 #include <ruby.h>
2 
3 extern __declspec(dllimport) void dlntest_ordinal(void);
4 
5 static VALUE
6 dln_dlntest(VALUE self)
7 {
8  dlntest_ordinal();
9  return self;
10 }
11 
12 void
13 Init_dln(void)
14 {
15  VALUE m = rb_define_module_under(rb_define_module("Bug"), "Win32");
16  rb_define_module_function(m, "dlntest", dln_dlntest, 0);
17 }
18