Ruby: dln.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

dln.h
Go to the documentation of this file.
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
25 char *dln_find_exe_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
26 char *dln_find_file_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
27
28#ifdef USE_DLN_A_OUT
29extern char *dln_argv0;
30#endif
31
32void *dln_load(const char*);
33
34RUBY_SYMBOL_EXPORT_END
35
36#endif
defines.h
DLN_FIND_EXTRA_ARG_DECL
#define DLN_FIND_EXTRA_ARG_DECL
Definition: dln.h:22
dln_load
void * dln_load(const char *)
Definition: dln.c:1264
dln_find_exe_r
#define dln_find_exe_r
Definition: win32.c:91
dln_find_file_r
#define dln_find_file_r
Definition: win32.c:92