Ruby: dln.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros | Functions
dln.h File Reference
`#include "ruby/defines.h"`

Go to the source code of this file.

## Macros
#define | DLN_FIND_EXTRA_ARG
#define | DLN_FIND_EXTRA_ARG_DECL

## Functions
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 *)

## Macro Definition Documentation

## ◆ DLN_FIND_EXTRA_ARG

#define DLN_FIND_EXTRA_ARG

Definition at line 19 of file dln.h.

## ◆ DLN_FIND_EXTRA_ARG_DECL

#define DLN_FIND_EXTRA_ARG_DECL

Definition at line 22 of file dln.h.

## Function Documentation

## ◆ dln_find_exe_r()

char * dln_find_exe_r | ( | const char * | ,
|  | const char * | ,
|  | char * | ,
|  | size_t | DLN_FIND_EXTRA_ARG_DECL
| ) |  |

## ◆ dln_find_file_r()

char * dln_find_file_r | ( | const char * | ,
|  | const char * | ,
|  | char * | ,
|  | size_t | DLN_FIND_EXTRA_ARG_DECL
| ) |  |

## ◆ dln_load()

void * dln_load | ( | const char * | file | ) |

Definition at line 1264 of file dln.c.

References ALLOCA_N, dln_load(), dln_memerror, dln_notimplement, error(), free, init_funcname, load(), memcpy, NULL, rb_fatal(), rb_loaderror(), rb_w32_mbstr_to_wstr(), strerror(), strlen(), translit_separator, and UNREACHABLE_RETURN.

Referenced by dln_load().