Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

dln.h
Go to the documentation of this file.
1 /**********************************************************************
2
3 dln.h -
4
5 $Author$
6 created at: Wed Jan 19 16:53:09 JST 1994
7
8 Copyright (C) 1993-2007 Yukihiro Matsumoto
9
10 **********************************************************************/
11
12 #ifndef DLN_H
13 #define DLN_H
14
15 #ifdef __cplusplus
16 # ifndef HAVE_PROTOTYPES
17 # define HAVE_PROTOTYPES 1
18 # endif
19 # ifndef HAVE_STDARG_PROTOTYPES
20 # define HAVE_STDARG_PROTOTYPES 1
21 # endif
22 #endif
23
24 #undef _
25 #ifdef HAVE_PROTOTYPES
26 # define _(args) args
27 #else
28 # define _(args) ()
29 #endif
30
31 RUBY_SYMBOL_EXPORT_BEGIN
32
33 #ifndef DLN_FIND_EXTRA_ARG
34 #define DLN_FIND_EXTRA_ARG
35 #endif
36 #ifndef DLN_FIND_EXTRA_ARG_DECL
37 #define DLN_FIND_EXTRA_ARG_DECL
38 #endif
39
40 char *dln_find_exe_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
41 char *dln_find_file_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
42
43 #ifdef USE_DLN_A_OUT
44 extern char *dln_argv0;
45 #endif
46
47 void *dln_load(const char*);
48
49 RUBY_SYMBOL_EXPORT_END
50
51 #endif
RUBY_SYMBOL_EXPORT_END
#define RUBY_SYMBOL_EXPORT_END
Definition: missing.h:49
dln_find_exe_r
char * dln_find_exe_r(const char *, const char *, char *, size_t DLN_FIND_EXTRA_ARG_DECL)
dln_find_file_r
char * dln_find_file_r(const char *, const char *, char *, size_t DLN_FIND_EXTRA_ARG_DECL)
dln_load
void * dln_load(const char *)
Definition: dln.c:1261
DLN_FIND_EXTRA_ARG_DECL
#define DLN_FIND_EXTRA_ARG_DECL
Definition: dln.h:37
RUBY_SYMBOL_EXPORT_BEGIN
#define RUBY_SYMBOL_EXPORT_BEGIN
Definition: missing.h:48