summaryrefslogtreecommitdiff
path: root/dln.h
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-04-26 15:27:56 -0400
committerPeter Zhu <[email protected]>2024-04-26 17:02:08 -0400
commitf64c97418bb32c8595829c658251f6145a76c13a (patch)
treefee0c3db0fb468a61b0d1f8f362dcae2358dec7e /dln.h
parent392b811bafc6a83c4ce196d814235c0366e7e907 (diff)
Allow RUBY_GC_LIBRARY_PATH to be set in miniruby
miniruby is used by tool/runruby.rb, so we need to ensure we don't rb_bug when RUBY_GC_LIBRARY_PATH is set so we can run tests using the make commands. This commit changes it to warn instead.
Diffstat (limited to 'dln.h')
-rw-r--r--dln.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dln.h b/dln.h
index 25cd946acf..26df5266f7 100644
--- a/dln.h
+++ b/dln.h
@@ -22,6 +22,7 @@ RUBY_SYMBOL_EXPORT_BEGIN
#define DLN_FIND_EXTRA_ARG_DECL
#endif
+bool dln_supported_p(void);
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);
void *dln_load(const char*);