aboutsummaryrefslogtreecommitdiff
path: root/core/encoding
diff options
context:
space:
mode:
Diffstat (limited to 'core/encoding')
-rw-r--r--core/encoding/csv/doc.odin2
-rw-r--r--core/encoding/hxa/hxa_os.odin2
-rw-r--r--core/encoding/ini/ini_os.odin2
-rw-r--r--core/encoding/xml/xml_os.odin2
4 files changed, 4 insertions, 4 deletions
diff --git a/core/encoding/csv/doc.odin b/core/encoding/csv/doc.odin
index c6dae3005..1fb685602 100644
--- a/core/encoding/csv/doc.odin
+++ b/core/encoding/csv/doc.odin
@@ -6,7 +6,7 @@ Example:
import "core:fmt"
import "core:encoding/csv"
- import os "core:os/os2"
+ import "core:os"
// Requires keeping the entire CSV file in memory at once
iterate_csv_from_string :: proc(filename: string) {
diff --git a/core/encoding/hxa/hxa_os.odin b/core/encoding/hxa/hxa_os.odin
index c033bdca8..17ad94819 100644
--- a/core/encoding/hxa/hxa_os.odin
+++ b/core/encoding/hxa/hxa_os.odin
@@ -2,7 +2,7 @@
#+build !js
package encoding_hxa
-import os "core:os/os2"
+import "core:os"
read_from_file :: proc(filename: string, print_error := false, allocator := context.allocator, loc := #caller_location) -> (file: File, err: Read_Error) {
context.allocator = allocator
diff --git a/core/encoding/ini/ini_os.odin b/core/encoding/ini/ini_os.odin
index 619a0e2a6..22c6bf7b3 100644
--- a/core/encoding/ini/ini_os.odin
+++ b/core/encoding/ini/ini_os.odin
@@ -3,7 +3,7 @@
package encoding_ini
import "base:runtime"
-import os "core:os/os2"
+import "core:os"
load_map_from_path :: proc(path: string, allocator: runtime.Allocator, options := DEFAULT_OPTIONS) -> (m: Map, err: runtime.Allocator_Error, ok: bool) {
data, data_err := os.read_entire_file(path, allocator)
diff --git a/core/encoding/xml/xml_os.odin b/core/encoding/xml/xml_os.odin
index 8c7f6cccf..1e94572c6 100644
--- a/core/encoding/xml/xml_os.odin
+++ b/core/encoding/xml/xml_os.odin
@@ -2,7 +2,7 @@
#+build !js
package encoding_xml
-import os "core:os/os2"
+import "core:os"
// Load an XML file
load_from_file :: proc(filename: string, options := DEFAULT_OPTIONS, error_handler := default_error_handler, allocator := context.allocator) -> (doc: ^Document, err: Error) {