forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.jl
36 lines (34 loc) · 890 Bytes
/
options.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This file is a part of Julia. License is MIT: http:https://julialang.org/license
# NOTE: This type needs to be kept in sync with jl_options in src/julia.h
immutable JLOptions
quiet::Int8
julia_home::Ptr{UInt8}
julia_bin::Ptr{UInt8}
eval::Ptr{UInt8}
print::Ptr{UInt8}
postboot::Ptr{UInt8}
load::Ptr{UInt8}
image_file::Ptr{UInt8}
cpu_target::Ptr{UInt8}
nprocs::Int32
machinefile::Ptr{UInt8}
isinteractive::Int8
color::Int8
historyfile::Int8
startupfile::Int8
compile_enabled::Int8
code_coverage::Int8
malloc_log::Int8
opt_level::Int8
check_bounds::Int8
depwarn::Int8
can_inline::Int8
fast_math::Int8
worker::Int8
handle_signals::Int8
bindto::Ptr{UInt8}
outputbc::Ptr{UInt8}
outputo::Ptr{UInt8}
outputji::Ptr{UInt8}
end
JLOptions() = unsafe_load(cglobal(:jl_options, JLOptions))