mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add lambdas.
This commit is contained in:
committed by
Christoffer Lerno
parent
c9e1e2d763
commit
b508a43f8f
@@ -28,6 +28,6 @@ extern fn int wsa_startup(int, void*) @extname("WSAStartup");
|
||||
extern fn int ioctlsocket(NativeSocket, long cmd, ulong *argp);
|
||||
extern fn int closesocket(NativeSocket);
|
||||
|
||||
macro NativeSocket.close(NativeSocket this) = closesocket(this);
|
||||
macro NativeSocket.close(NativeSocket this) => closesocket(this);
|
||||
|
||||
$endif;
|
||||
Reference in New Issue
Block a user