From 37e5037b68fb35276f0c426779f61aa278d5b21b Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 6 Jan 2026 23:08:25 -0700 Subject: [reorg] use X macro system rather than perl generation. This remove the dependency on Perl and makes things less brittle. --- arken/include/plugin_interface.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 arken/include/plugin_interface.h (limited to 'arken/include/plugin_interface.h') diff --git a/arken/include/plugin_interface.h b/arken/include/plugin_interface.h new file mode 100644 index 0000000..0583289 --- /dev/null +++ b/arken/include/plugin_interface.h @@ -0,0 +1,23 @@ +#ifndef _PLUG_INTF +#define _PLUG_INTF + +#include + +#include "plugin_types.h" +#include "plugin_exports.h" + +#include +#include +#include + +/* + * Plugin ABI: plugins must export these symbols. + * + * This header is intended to be included by plugin implementations. + */ + +#define DECLARE_PLUGIN_EXPORT(ret, name, args) ret name args; +MONTIS_PLUGIN_EXPORTS(DECLARE_PLUGIN_EXPORT) +#undef DECLARE_PLUGIN_EXPORT + +#endif /* _PLUG_INTF */ -- cgit