From 2b760c90206155b4373896c49f6eb8b7445e9e36 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 26 Jun 2024 13:10:30 -0400 Subject: Expose get_github_release_notes_tplfunc_entrypoint function to template engine --- src/stasis_main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stasis_main.c') diff --git a/src/stasis_main.c b/src/stasis_main.c index c550982..13576a1 100644 --- a/src/stasis_main.c +++ b/src/stasis_main.c @@ -260,6 +260,10 @@ int main(int argc, char *argv[]) { tpl_register("workaround.tox_posargs", &globals.workaround.tox_posargs); tpl_register("workaround.conda_reactivate", &globals.workaround.conda_reactivate); + // Expose function(s) to the template engine + // Prototypes can be found in template_func_proto.h + tpl_register_func("get_github_release_notes", &get_github_release_notes_tplfunc_entrypoint, 3); + // Set up PREFIX/etc directory information // The user may manipulate the base directory path with STASIS_SYSCONFDIR // environment variable -- cgit