Ruby: dln.h Source File

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

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*);
28
29RUBY_SYMBOL_EXPORT_END
30
31#endif
defines.h