summaryrefslogtreecommitdiff
path: root/src/til_builtins.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/til_builtins.c')
-rw-r--r--src/til_builtins.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/til_builtins.c b/src/til_builtins.c
index 7a36d23..a73cf30 100644
--- a/src/til_builtins.c
+++ b/src/til_builtins.c
@@ -165,3 +165,25 @@ static int _ref_setup(const til_settings_t *settings, til_setting_t **res_settin
return 0;
}
+
+
+/* "none" built-in module */
+static int _none_setup(const til_settings_t *settings, til_setting_t **res_setting, const til_setting_desc_t **res_desc, til_setup_t **res_setup);
+
+
+til_module_t _none_module = {
+ .setup = _none_setup,
+ .name = "none",
+ .description = "Disabled (built-in)",
+ .author = "built-in",
+ .flags = TIL_MODULE_BUILTIN,
+};
+
+
+static int _none_setup(const til_settings_t *settings, til_setting_t **res_setting, const til_setting_desc_t **res_desc, til_setup_t **res_setup)
+{
+ if (res_setup)
+ *res_setup = NULL;
+
+ return 0;
+}
© All Rights Reserved