diff options
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) { |
