mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ff397d0016
defines.h already has them. Also __cplusplus can never be defined here.
36 lines
797 B
C
36 lines
797 B
C
#ifndef DLN_H
|
|
#define DLN_H
|
|
/**********************************************************************
|
|
|
|
dln.h -
|
|
|
|
$Author$
|
|
created at: Wed Jan 19 16:53:09 JST 1994
|
|
|
|
Copyright (C) 1993-2007 Yukihiro Matsumoto
|
|
|
|
**********************************************************************/
|
|
|
|
#include "ruby/defines.h" /* for RUBY_SYMBOL_EXPORT_BEGIN */
|
|
|
|
RUBY_SYMBOL_EXPORT_BEGIN
|
|
|
|
#ifndef DLN_FIND_EXTRA_ARG
|
|
#define DLN_FIND_EXTRA_ARG
|
|
#endif
|
|
#ifndef DLN_FIND_EXTRA_ARG_DECL
|
|
#define DLN_FIND_EXTRA_ARG_DECL
|
|
#endif
|
|
|
|
char *dln_find_exe_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
|
|
char *dln_find_file_r(const char*,const char*,char*,size_t DLN_FIND_EXTRA_ARG_DECL);
|
|
|
|
#ifdef USE_DLN_A_OUT
|
|
extern char *dln_argv0;
|
|
#endif
|
|
|
|
void *dln_load(const char*);
|
|
|
|
RUBY_SYMBOL_EXPORT_END
|
|
|
|
#endif
|