* gc.c (set_heaps_increment): fix memory allocation strategy by
[ruby-svn.git] / dln.h
blob90d76aa90a7d1b6ba40a25b9eb8cef5e5a9e2172
1 /**********************************************************************
3 dln.h -
5 $Author$
6 created at: Wed Jan 19 16:53:09 JST 1994
8 Copyright (C) 1993-2007 Yukihiro Matsumoto
10 **********************************************************************/
12 #ifndef DLN_H
13 #define DLN_H
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
24 #undef _
25 #ifdef HAVE_PROTOTYPES
26 # define _(args) args
27 #else
28 # define _(args) ()
29 #endif
31 char *dln_find_exe(const char*,const char*);
32 char *dln_find_file(const char*,const char*);
34 #ifdef USE_DLN_A_OUT
35 extern char *dln_argv0;
36 #endif
38 void *dln_load(const char*);
39 #endif