summaryrefslogtreecommitdiff
path: root/dln.h
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-04-24 11:01:09 -0400
committerPeter Zhu <[email protected]>2024-04-24 13:10:06 -0400
commit057b69cfdf633b6b0cf67e8b0621476e7234efa8 ()
treea5312a05d0a23d170d5df69fddc6d63f61f64f61 /dln.h
parent853c0b1a776ba67cd20741f631788d8556c854eb (diff)
Pass string error buffer into dln_open
On Windows, the error exists on the stack so we should pass an error buffer from the caller.
-rw-r--r--dln.h2
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ RUBY_SYMBOL_EXPORT_BEGIN
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*);
-void *dln_open(const char *file, const char **error);
void *dln_symbol(void*,const char*);
RUBY_SYMBOL_EXPORT_END