public
Description: ruby lang (www.ruby-lang.org) svn mirror
Homepage: http://svn.ruby-lang.org/repos/ruby/
Clone URL: git://github.com/juretta/ruby.git
akr (author)
Wed Jul 09 05:01:08 -0700 2008
commit  6219a5db8795d54c01a077b288974ec00f03723b
tree    a2ace5237b3f8aa0352f04035c18b9602d15a0e2
parent  606914de60f182645c31ed1879112f541f4cea7a
ruby / dln.h
100644 42 lines (31 sloc) 0.836 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**********************************************************************
 
  dln.h -
 
  $Author$
  created at: Wed Jan 19 16:53:09 JST 1994
 
  Copyright (C) 1993-2007 Yukihiro Matsumoto
 
**********************************************************************/
 
#ifndef DLN_H
#define DLN_H
 
#ifdef __cplusplus
# ifndef HAVE_PROTOTYPES
# define HAVE_PROTOTYPES 1
# endif
# ifndef HAVE_STDARG_PROTOTYPES
# define HAVE_STDARG_PROTOTYPES 1
# endif
#endif
 
#undef _
#ifdef HAVE_PROTOTYPES
# define _(args) args
#else
# define _(args) ()
#endif
 
char *dln_find_exe(const char*,const char*);
char *dln_find_file(const char*,const char*);
char *dln_find_exe_r(const char*,const char*,char*,int);
char *dln_find_file_r(const char*,const char*,char*,int);
 
#ifdef USE_DLN_A_OUT
extern char *dln_argv0;
#endif
 
void *dln_load(const char*);
#endif