diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-26 13:10:30 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-26 13:27:42 -0400 |
commit | 2b760c90206155b4373896c49f6eb8b7445e9e36 (patch) | |
tree | 5113f91b6851774f3ed6eae17c0547cf63bdf242 /src | |
parent | a292680b28f607a3b5401ea4ab5641b817e12c20 (diff) | |
download | stasis-2b760c90206155b4373896c49f6eb8b7445e9e36.tar.gz |
Expose get_github_release_notes_tplfunc_entrypoint function to template engine
Diffstat (limited to 'src')
-rw-r--r-- | src/stasis_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |