Ruby 2.0.0p353(2013-11-22revision43784)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

dln.h
Go to the documentation of this file.
1 /**********************************************************************
2
3 dln.h -
4
5 $Author: nobu $
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 #if defined __GNUC__ && __GNUC__ >= 4
32 #pragma GCC visibility push(default)
33 #endif
34
35 DEPRECATED(char *dln_find_exe(const char*,const char*));
36 DEPRECATED(char *dln_find_file(const char*,const char*));
37 char *dln_find_exe_r(const char*,const char*,char*,size_t);
38 char *dln_find_file_r(const char*,const char*,char*,size_t);
39
40 #ifdef USE_DLN_A_OUT
41 extern char *dln_argv0;
42 #endif
43
44 void *dln_load(const char*);
45
46 #if defined __GNUC__ && __GNUC__ >= 4
47 #pragma GCC visibility pop
48 #endif
49
50 #endif
DEPRECATED
#define DEPRECATED(x)
Definition: ruby.h:34
dln_find_file_r
char * dln_find_file_r(const char *, const char *, char *, size_t)
Definition: dln_find.c:99
dln_find_exe
char * dln_find_exe(const char *fname, const char *path)
Definition: dln_find.c:108
dln_find_exe_r
char * dln_find_exe_r(const char *, const char *, char *, size_t)
Definition: dln_find.c:77
dln_load
void * dln_load(const char *file)
Definition: dln.c:1249
dln_find_file
char * dln_find_file(const char *fname, const char *path)
Definition: dln_find.c:114