From f142f6dc309d1718674ec39387d0335a71f056c6 Mon Sep 17 00:00:00 2001 From: servostar Date: Sun, 23 Jun 2024 14:21:21 +0200 Subject: [PATCH] changed: library file extension to gsc --- lib/src/{bool.gem => bool.gsc} | 2 +- lib/src/{def.gem => def.gsc} | 0 lib/src/{io.gem => io.gsc} | 2 +- lib/src/{mem.gem => mem.gsc} | 2 +- lib/src/{os.gem => os.gsc} | 2 +- lib/src/{std.gem => std.gsc} | 6 +++--- 6 files changed, 7 insertions(+), 7 deletions(-) rename lib/src/{bool.gem => bool.gsc} (80%) rename lib/src/{def.gem => def.gsc} (100%) rename lib/src/{io.gem => io.gsc} (99%) rename lib/src/{mem.gem => mem.gsc} (97%) rename lib/src/{os.gem => os.gsc} (93%) rename lib/src/{std.gem => std.gsc} (84%) diff --git a/lib/src/bool.gem b/lib/src/bool.gsc similarity index 80% rename from lib/src/bool.gem rename to lib/src/bool.gsc index e028294..682ad66 100644 --- a/lib/src/bool.gem +++ b/lib/src/bool.gsc @@ -1,5 +1,5 @@ -import "def.gem" +import "def.gsc" type unsigned int: bool diff --git a/lib/src/def.gem b/lib/src/def.gsc similarity index 100% rename from lib/src/def.gem rename to lib/src/def.gsc diff --git a/lib/src/io.gem b/lib/src/io.gsc similarity index 99% rename from lib/src/io.gem rename to lib/src/io.gsc index 1845a9c..db8de9b 100644 --- a/lib/src/io.gem +++ b/lib/src/io.gsc @@ -6,7 +6,7 @@ # | Generic Input/Output | # `----------------------------------------` -import "def.gem" +import "def.gsc" # platform specific handle to an I/O device # can be a file, buffer, window or something else diff --git a/lib/src/mem.gem b/lib/src/mem.gsc similarity index 97% rename from lib/src/mem.gem rename to lib/src/mem.gsc index e199c42..0307666 100644 --- a/lib/src/mem.gem +++ b/lib/src/mem.gsc @@ -6,7 +6,7 @@ # | Memory Management | # `----------------------------------------` -import "def.gem" +import "def.gsc" # Allocate `len` bytes of heap memory # Returns a pointer to the memory as `ptr` diff --git a/lib/src/os.gem b/lib/src/os.gsc similarity index 93% rename from lib/src/os.gem rename to lib/src/os.gsc index 9f51a45..bfd6958 100644 --- a/lib/src/os.gem +++ b/lib/src/os.gsc @@ -6,7 +6,7 @@ # | Operating System | # `----------------------------------------` -import "def.gem" +import "def.gsc" # Return a hard coded C string identifying the underlying operating system # Will return one of the following: diff --git a/lib/src/std.gem b/lib/src/std.gsc similarity index 84% rename from lib/src/std.gem rename to lib/src/std.gsc index e135a13..cf690e3 100644 --- a/lib/src/std.gem +++ b/lib/src/std.gsc @@ -7,10 +7,10 @@ # `----------------------------------------` # standard type definitions -import "def.gem" +import "def.gsc" # I/O operations -import "io.gem" +import "io.gsc" # memory management -import "mem.gem" +import "mem.gsc"