mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00

The old mch_libcall was removed from neovim. This is a partial reimplementation on top of libuv. It doesn't catch exceptions (windows) nor signals (unix) though, so it's quite a bit more prone to crashing if the loadable library throws an exception or crashes. Still, it should be fine for well-behaved libraries. Requested by @Shougo.
11 lines
186 B
C
11 lines
186 B
C
#ifndef NVIM_OS_DL_H
|
|
#define NVIM_OS_DL_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "os/dl.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_OS_DL_H
|