Ruby
1.9.3p484(2013-11-22revision43786)
Main Page
Modules
Data Structures
Files
File List
Globals
ext
-test-
win32
dln
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
Generated on Fri Nov 22 2013 07:03:57 for Ruby by
1.8.3