Ruby 3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
dln.h (5fab31b15e32622c4b71d1d347a41937e9f9c212)
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_symbol(void*,const char*);
29
30RUBY_SYMBOL_EXPORT_END
31
32#endif