Ruby  2.5.0dev(2017-10-22revision60238)
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 
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 
50 
51 #endif
void * dln_load(const char *)
Definition: dln.c:1246
char * dln_find_file_r(const char *, const char *, char *, size_t DLN_FIND_EXTRA_ARG_DECL)
char * dln_find_exe_r(const char *, const char *, char *, size_t DLN_FIND_EXTRA_ARG_DECL)
#define DLN_FIND_EXTRA_ARG_DECL
Definition: dln.h:37
#define RUBY_SYMBOL_EXPORT_END
Definition: missing.h:49
#define RUBY_SYMBOL_EXPORT_BEGIN
Definition: missing.h:48