|
Ruby 1.9.2p290(2011-07-09revision32553)
|
00001 /********************************************************************** 00002 00003 dln.h - 00004 00005 $Author: akr $ 00006 created at: Wed Jan 19 16:53:09 JST 1994 00007 00008 Copyright (C) 1993-2007 Yukihiro Matsumoto 00009 00010 **********************************************************************/ 00011 00012 #ifndef DLN_H 00013 #define DLN_H 00014 00015 #ifdef __cplusplus 00016 # ifndef HAVE_PROTOTYPES 00017 # define HAVE_PROTOTYPES 1 00018 # endif 00019 # ifndef HAVE_STDARG_PROTOTYPES 00020 # define HAVE_STDARG_PROTOTYPES 1 00021 # endif 00022 #endif 00023 00024 #undef _ 00025 #ifdef HAVE_PROTOTYPES 00026 # define _(args) args 00027 #else 00028 # define _(args) () 00029 #endif 00030 00031 DEPRECATED(char *dln_find_exe(const char*,const char*)); 00032 DEPRECATED(char *dln_find_file(const char*,const char*)); 00033 char *dln_find_exe_r(const char*,const char*,char*,size_t); 00034 char *dln_find_file_r(const char*,const char*,char*,size_t); 00035 00036 #ifdef USE_DLN_A_OUT 00037 extern char *dln_argv0; 00038 #endif 00039 00040 void *dln_load(const char*); 00041 #endif 00042
1.7.3