diff options
| author | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-24 00:09:29 +0000 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-24 00:09:29 +0000 |
| commit | 27d041865d17a4055e7e6b3e297656d6f35a0f3b (patch) | |
| tree | 8fe0cbd2fecf24a6da3150dc4a2666a1c6dec0c3 /std | |
| parent | 1991cb62d26b954e54cf13c2d765fb3a0bbaa3ca (diff) | |
Welcome to 'def' + changed 'const'
Diffstat (limited to 'std')
| -rw-r--r-- | std/fs.zc | 6 | ||||
| -rw-r--r-- | std/net.zc | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -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. @@ -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) { |
