mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
dad31f6e50
patch by phasis68 (Heesob Park) at [ruby-core:44381]. [ruby-core:44371][Bug #6303] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
17 lines
316 B
C
17 lines
316 B
C
#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);
|
|
}
|