Add more package lines for the docs

This commit is contained in:
Jeroen van Rijn
2025-10-09 14:41:22 +02:00
parent c3d4b1f0b5
commit 5a154a1775
6 changed files with 17 additions and 11 deletions
+2 -1
View File
@@ -1,3 +1,5 @@
// package gzip implements a small GZIP implementation as an example.
package compress_gzip
/* /*
Copyright 2021 Jeroen van Rijn <nom@duclavier.com>. Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
Made available under Odin's BSD-3 license. Made available under Odin's BSD-3 license.
@@ -87,4 +89,3 @@ Example:
bytes.buffer_destroy(&buf) bytes.buffer_destroy(&buf)
} }
*/ */
package compress_gzip
+2
View File
@@ -0,0 +1,2 @@
// package shoco is an implementation of the shoco short string compressor.
package compress_shoco
+2 -2
View File
@@ -1,11 +1,11 @@
package compress_shoco
/* /*
This file was generated, so don't edit this by hand. This file was generated, so don't edit this by hand.
Transliterated from https://github.com/Ed-von-Schleck/shoco/blob/master/shoco_model.h, Transliterated from https://github.com/Ed-von-Schleck/shoco/blob/master/shoco_model.h,
which is an English word model. which is an English word model.
*/ */
package compress_shoco
DEFAULT_MODEL :: Shoco_Model { DEFAULT_MODEL :: Shoco_Model {
min_char = 39, min_char = 39,
max_char = 122, max_char = 122,
+3 -3
View File
@@ -1,3 +1,6 @@
// package shoco is an implementation of the shoco short string compressor.
package compress_shoco
/* /*
Copyright 2022 Jeroen van Rijn <nom@duclavier.com>. Copyright 2022 Jeroen van Rijn <nom@duclavier.com>.
Made available under Odin's BSD-3 license. Made available under Odin's BSD-3 license.
@@ -8,9 +11,6 @@
An implementation of [shoco](https://github.com/Ed-von-Schleck/shoco) by Christian Schramm. An implementation of [shoco](https://github.com/Ed-von-Schleck/shoco) by Christian Schramm.
*/ */
// package shoco is an implementation of the shoco short string compressor.
package compress_shoco
import "base:intrinsics" import "base:intrinsics"
import "core:compress" import "core:compress"
+2 -1
View File
@@ -1,3 +1,5 @@
// package zlib implements Deflate decompression
package compress_zlib
/* /*
Copyright 2021 Jeroen van Rijn <nom@duclavier.com>. Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
Made available under Odin's BSD-3 license. Made available under Odin's BSD-3 license.
@@ -48,4 +50,3 @@ Example:
assert(len(s) == OUTPUT_SIZE) assert(len(s) == OUTPUT_SIZE)
} }
*/ */
package compress_zlib
+3 -1
View File
@@ -1,3 +1,6 @@
// package bit_array implements a dynamically-sized array of bits
package container_dynamic_bit_array
/* /*
The Bit Array can be used in several ways: The Bit Array can be used in several ways:
@@ -49,4 +52,3 @@ Example:
fmt.printf("Freed.\n") fmt.printf("Freed.\n")
} }
*/ */
package container_dynamic_bit_array