From 27d041865d17a4055e7e6b3e297656d6f35a0f3b Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Sat, 24 Jan 2026 00:09:29 +0000 Subject: Welcome to 'def' + changed 'const' --- std/fs.zc | 6 +++--- std/net.zc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'std') diff --git a/std/fs.zc b/std/fs.zc index 0b9c158..c3055ad 100644 --- a/std/fs.zc +++ b/std/fs.zc @@ -3,9 +3,9 @@ import "./result.zc" import "./string.zc" import "./vec.zc" -const Z_SEEK_SET: int = 0; -const Z_SEEK_END: int = 2; -const Z_F_OK: int = 0; +def Z_SEEK_SET = 0; +def Z_SEEK_END = 2; +def Z_F_OK = 0; // TODO: restructure this tomorrow. diff --git a/std/net.zc b/std/net.zc index 326afc4..eacd9d7 100644 --- a/std/net.zc +++ b/std/net.zc @@ -9,8 +9,8 @@ import "./core.zc" import "./result.zc" import "./string.zc" -const Z_AF_INET = 2; -const Z_SOCK_STREAM = 1; +def Z_AF_INET = 2; +def Z_SOCK_STREAM = 1; raw { static int _z_net_bind(int fd, char *host, int port) { -- cgit v1.2.3