diff options
Diffstat (limited to 'org')
-rw-r--r-- | org/spine_search_cgi.org (renamed from org/cgi_spine_search.org) | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/org/cgi_spine_search.org b/org/spine_search_cgi.org index 00f0bed..24a55ca 100644 --- a/org/cgi_spine_search.org +++ b/org/spine_search_cgi.org @@ -67,9 +67,9 @@ version (Posix) { ** notes - provide -** spine_search src/spine_search.d :template: +** spine_search src/spine_search/spine_search.d :template: -#+HEADER: :tangle "../src/spine_search.d_" +#+HEADER: :tangle "../src/spine_search/spine_search.d" #+HEADER: :shebang "#!/usr/bin/env rdmd" #+HEADER: :noweb yes #+BEGIN_SRC d @@ -79,8 +79,10 @@ version (Posix) { description "spine cgi search" /+ obt - org-mode generated file +/ +/ +module spine_search; +@system: <<spine_search_imports>> -void cgi_function_intro(Cgi cgi) { +void spine_cgi_search_function(Cgi cgi) { mixin(import("configuration.txt")); <<spine_search_init_1>> <<spine_search_config_struct_init>> @@ -212,7 +214,7 @@ void cgi_function_intro(Cgi cgi) { cgi.write(tail); } } -mixin GenericMain!cgi_function_intro; +@system mixin GenericMain!spine_cgi_search_function; #+END_SRC ** settings spine_search.d |