Ruby 1.9.3p327(2012-11-10revision37606)
ext/-test-/win32/dln/dlntest.c
Go to the documentation of this file.
00001 #include <ruby.h>
00002 
00003 extern __declspec(dllimport) void dlntest_ordinal(void);
00004 
00005 static VALUE
00006 dln_dlntest(VALUE self)
00007 {
00008     dlntest_ordinal();
00009     return self;
00010 }
00011 
00012 void
00013 Init_dln(void)
00014 {
00015     VALUE m = rb_define_module_under(rb_define_module("Bug"), "Win32");
00016     rb_define_module_function(m, "dlntest", dln_dlntest, 0);
00017 }
00018