mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-05 04:24:41 +00:00
Update numerous package declaration names
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//+build ignore
|
||||
package gzip
|
||||
package compress_gzip
|
||||
|
||||
/*
|
||||
Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package gzip
|
||||
package compress_gzip
|
||||
|
||||
/*
|
||||
Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
// package shoco is an implementation of the shoco short string compressor
|
||||
package shoco
|
||||
package compress_shoco
|
||||
|
||||
DEFAULT_MODEL :: Shoco_Model {
|
||||
min_char = 39,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
// package shoco is an implementation of the shoco short string compressor
|
||||
package shoco
|
||||
package compress_shoco
|
||||
|
||||
import "base:intrinsics"
|
||||
import "core:compress"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//+build ignore
|
||||
package zlib
|
||||
package compress_zlib
|
||||
|
||||
/*
|
||||
Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//+vet !using-param
|
||||
package zlib
|
||||
package compress_zlib
|
||||
|
||||
/*
|
||||
Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package dynamic_bit_array
|
||||
package container_dynamic_bit_array
|
||||
|
||||
import "base:intrinsics"
|
||||
import "core:mem"
|
||||
|
||||
@@ -49,4 +49,4 @@ The Bit Array can be used in several ways:
|
||||
fmt.printf("Freed.\n")
|
||||
}
|
||||
*/
|
||||
package dynamic_bit_array
|
||||
package container_dynamic_bit_array
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package base32
|
||||
package encoding_base32
|
||||
|
||||
// @note(zh): Encoding utility for Base32
|
||||
// A secondary param can be used to supply a custom alphabet to
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package base64
|
||||
package encoding_base64
|
||||
|
||||
import "core:io"
|
||||
import "core:mem"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cbor
|
||||
package encoding_cbor
|
||||
|
||||
import "base:intrinsics"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cbor
|
||||
package encoding_cbor
|
||||
|
||||
import "base:intrinsics"
|
||||
import "base:runtime"
|
||||
|
||||
@@ -137,5 +137,5 @@ Output:
|
||||
"str": "Hello, World!"
|
||||
}
|
||||
*/
|
||||
package cbor
|
||||
package encoding_cbor
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cbor
|
||||
package encoding_cbor
|
||||
|
||||
import "base:intrinsics"
|
||||
import "base:runtime"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cbor
|
||||
package encoding_cbor
|
||||
|
||||
import "base:runtime"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package cbor
|
||||
package encoding_cbor
|
||||
|
||||
import "base:intrinsics"
|
||||
import "base:runtime"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// package csv reads and writes comma-separated values (CSV) files.
|
||||
// This package supports the format described in RFC 4180 <https://tools.ietf.org/html/rfc4180.html>
|
||||
package csv
|
||||
package encoding_csv
|
||||
|
||||
import "core:bufio"
|
||||
import "core:bytes"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package csv
|
||||
package encoding_csv
|
||||
|
||||
import "core:io"
|
||||
import "core:strings"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package unicode_entity
|
||||
package encoding_unicode_entity
|
||||
/*
|
||||
A unicode entity encoder/decoder
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package unicode_entity
|
||||
package encoding_unicode_entity
|
||||
|
||||
/*
|
||||
------ GENERATED ------ DO NOT EDIT ------ GENERATED ------ DO NOT EDIT ------ GENERATED ------
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package hex
|
||||
package encoding_hex
|
||||
|
||||
import "core:strings"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package json
|
||||
package encoding_json
|
||||
|
||||
import "core:mem"
|
||||
import "core:math/bits"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package json
|
||||
package encoding_json
|
||||
|
||||
import "core:mem"
|
||||
import "core:unicode/utf8"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package json
|
||||
package encoding_json
|
||||
|
||||
import "core:unicode/utf8"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package json
|
||||
package encoding_json
|
||||
|
||||
import "core:strings"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package json
|
||||
package encoding_json
|
||||
|
||||
import "core:mem"
|
||||
import "core:math"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package json
|
||||
package encoding_json
|
||||
|
||||
import "core:mem"
|
||||
|
||||
|
||||
@@ -25,4 +25,4 @@
|
||||
```
|
||||
|
||||
*/
|
||||
package varint
|
||||
package encoding_varint
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
// package varint implements variable length integer encoding and decoding using
|
||||
// the LEB128 format as used by DWARF debug info, Android .dex and other file formats.
|
||||
package varint
|
||||
package encoding_varint
|
||||
|
||||
// In theory we should use the bigint package. In practice, varints bigger than this indicate a corrupted file.
|
||||
// Instead we'll set limits on the values we'll encode/decode
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package xml
|
||||
package encoding_xml
|
||||
|
||||
/*
|
||||
An XML 1.0 / 1.1 parser
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package xml
|
||||
package encoding_xml
|
||||
|
||||
/*
|
||||
An XML 1.0 / 1.1 parser
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package xml
|
||||
package encoding_xml
|
||||
|
||||
/*
|
||||
An XML 1.0 / 1.1 parser
|
||||
|
||||
@@ -24,7 +24,7 @@ MAYBE:
|
||||
List of contributors:
|
||||
- Jeroen van Rijn: Initial implementation.
|
||||
*/
|
||||
package xml
|
||||
package encoding_xml
|
||||
// An XML 1.0 / 1.1 parser
|
||||
|
||||
import "core:bytes"
|
||||
|
||||
Reference in New Issue
Block a user