added +vet explicit-allocators to all files

This commit is contained in:
Simon Kellet
2026-03-25 13:54:37 +00:00
parent 0fc4e6180b
commit 44cecf02e8
3 changed files with 33 additions and 17 deletions
+3
View File
@@ -1,3 +1,4 @@
#+vet explicit-allocators
package main
import "core:fmt"
@@ -9,12 +10,14 @@ MD_SUFFIX :: ".md"
UTF8_PREFIX :: "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n"
CSS_PREFIX :: "<head><link rel=\"stylesheet\" href=\"./css/style.css\">\n"
FAVICON_PREFIX :: "<link rel=\"icon\" type=\"image\\x-icon\" href=\"/imgs/favicon.ico\">\n"
MASTODON_PREFIX :: "<a rel=me href=https://linuxrocks.online/@simonkellet></a>\n"
write_prefixs_to_html_file :: proc(file: ^os.File) {
os.write_string(file, UTF8_PREFIX)
os.write_string(file, CSS_PREFIX)
os.write_string(file, FAVICON_PREFIX)
os.write_string(file, MASTODON_PREFIX)
}