Revision 4d745aa2f670491f3a93a7ed534dad367a7d7b84 authored by David Anthoff on 07 March 2020, 14:17:05 UTC, committed by GitHub on 07 March 2020, 14:17:05 UTC
* Add devcontainer and dockerfile * Add VS Code CPP extension * Use Julia base image for devcontainer * Add VS Code make task * Fix typo * Remove .vscode/tasks.json
1 parent a247038
uv_constants.h
// This file is a part of Julia. License is MIT: https://julialang.org/license
#include "uv.h"
#if EDOM > 0
# define UV__ERR(x) (-(x))
#else
# define UV__ERR(x) (x)
#endif
#define XX(uc,lc) :UV_##uc,
#define YY(uc,mc) (:UV_##uc,UV__##uc),
const uv_handle_types = [UV_HANDLE_TYPE_MAP(XX) :UV_FILE]
const uv_req_types = [UV_REQ_TYPE_MAP(XX)]
const uv_err_vals = [UV_ERRNO_MAP(YY)]
let
handles = [:UV_UNKNOWN_HANDLE, uv_handle_types..., :UV_HANDLE_TYPE_MAX]
reqs = [:UV_UNKNOWN_REQ, uv_req_types..., :UV_REQ_TYPE_PRIVATE, :UV_REQ_TYPE_MAX]
for i in 1:length(handles)
@eval const $(handles[i]) = $(i - 1)
end
for i in 1:length(reqs)
@eval const $(reqs[i]) = $(i - 1)
end
for (v, val) in uv_err_vals
@eval const $v = $val
end
end
Computing file changes ...