17 lines
336 B
C
17 lines
336 B
C
#ifndef NIXIDE_API_MAIN_H
|
|
#define NIXIDE_API_MAIN_H
|
|
|
|
#include <nix_api_main.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// NOTE: all plugins should be registered BEFORE `nix_init_plugins` is run
|
|
nix_err nix_register_plugin(nix_c_context * context, char * plugin);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif // NIXIDE_API_MAIN_H
|