From e9e17be24eba558c30fcdc41ea5bb9a1da7fd4e7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 12 Mar 2024 22:39:09 -0400 Subject: mark modules as @safe: (& identify what is not) --- org/output_show.org | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'org/output_show.org') diff --git a/org/output_show.org b/org/output_show.org index 934d6e3..0247176 100644 --- a/org/output_show.org +++ b/org/output_show.org @@ -26,8 +26,9 @@ #+BEGIN_SRC d <> module doc_reform.meta.metadoc_show_summary; +@safe: template spineMetaDocSummary() { - @safe void spineMetaDocSummary(S,T)( + void spineMetaDocSummary(S,T)( const S doc_abstraction, T doc_matters, ) { @@ -155,8 +156,9 @@ writefln( #+HEADER: :noweb yes #+BEGIN_SRC d module doc_reform.meta.metadoc_show_config; +@safe: template spineShowSiteConfig() { - @safe void spineShowSiteConfig(O,T)( + void spineShowSiteConfig(O,T)( O opt_action, T config, ) { @@ -246,7 +248,7 @@ writefln( #+HEADER: :noweb yes #+BEGIN_SRC d template spineShowConfig() { - @safe void spineShowConfig(T)( + void spineShowConfig(T)( T doc_matters, ) { <> @@ -340,8 +342,9 @@ writefln( #+BEGIN_SRC d <> module doc_reform.meta.metadoc_show_make; +@safe: template spineShowMake() { - @safe void spineShowMake(T)( + void spineShowMake(T)( T doc_matters, ) { <> @@ -413,8 +416,9 @@ writefln( #+BEGIN_SRC d <> module doc_reform.meta.metadoc_show_metadata; +@safe: template spineShowMetaData() { - @safe void spineShowMetaData(T)( + void spineShowMetaData(T)( T doc_matters, ) { <> -- cgit v1.2.3