dln.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 
00003   dln.h -
00004 
00005   $Author: nobu $
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 RUBY_SYMBOL_EXPORT_BEGIN
00032 
00033 #ifndef DLN_FIND_EXTRA_ARG
00034 #define DLN_FIND_EXTRA_ARG
00035 #endif
00036 #ifndef DLN_FIND_EXTRA_ARG_DECL
00037 #define DLN_FIND_EXTRA_ARG_DECL
00038 #endif
00039 
00040 char *dln_find_exe_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
00041 char *dln_find_file_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
00042 
00043 #ifdef USE_DLN_A_OUT
00044 extern char *dln_argv0;
00045 #endif
00046 
00047 void *dln_load(const char*);
00048 
00049 RUBY_SYMBOL_EXPORT_END
00050 
00051 #endif
00052 

Generated on 19 Jul 2016 for Ruby by  doxygen 1.4.7