Ruby: dln.h Source File

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

dln.h
1#ifndef DLN_H
2#define DLN_H
3/**********************************************************************
4
5 dln.h -
6
7 $Author$
8 created at: Wed Jan 19 16:53:09 JST 1994
9
10 Copyright (C) 1993-2007 Yukihiro Matsumoto
11
12**********************************************************************/
13
14#include "ruby/defines.h" /* for RUBY_SYMBOL_EXPORT_BEGIN */
15
16RUBY_SYMBOL_EXPORT_BEGIN
17
18#ifndef DLN_FIND_EXTRA_ARG
19#define DLN_FIND_EXTRA_ARG
20#endif
21#ifndef DLN_FIND_EXTRA_ARG_DECL
22#define DLN_FIND_EXTRA_ARG_DECL
23#endif
24
25char *dln_find_exe_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
26char *dln_find_file_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
27void *dln_load(const char*);
28void *dln_load_feature(const char*, const char*);
29void *dln_symbol(void*,const char*);
30
31RUBY_SYMBOL_EXPORT_END
32
33#endif
defines.h