You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/GMT.jl
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ else
53
53
const GMTdevdate =Date(devdate, dateformat"y.m.d") # 'devdate' comes from reading 'deps.jl'
54
54
end
55
55
56
-
constglobalG_API =[C_NULL]
56
+
const G_API =Ref{Ptr{Cvoid}}(C_NULL)
57
57
const PSname =Ref{String}("") # The PS file (filled in __init__) where, in classic mode, all lands.
58
58
constglobal TMPDIR_USR = [tempdir(), "", ""] # Save the tmp dir and user name (also filled in __init__)
59
59
constglobal TESTSDIR =joinpath(dirname(pathof(GMT))[1:end-4], "test", "") # To have easy access to test files
@@ -78,7 +78,7 @@ const noGrdCopy = Ref{Bool}(false) # If true, grids are sent without transpos
78
78
const GMTCONF =Ref{Bool}(false) # Flag if gmtset was used and must be 'unused'
79
79
const FMT =Ref{String}("png") # The default plot format
80
80
const BOX_STR =Ref{String}("") # Used in plotyy to know -R of first call
81
-
constglobalPOSTMAN =[Dict{String,String}()]# To pass messages to functions (start with get_dataset)
81
+
const POSTMAN =Ref{Dict{String,String}}(Dict{String,String}())# To pass messages to functions (start with get_dataset)
82
82
#const global SACO = [Dict{String,Union{AbstractArray, Vector{AbstractArray}}}()] # When funs (fillsinks) want to return extra data but not via the return mechanism
83
83
const DEF_FIG_SIZE ="15c/10c"# Default fig size for plot like programs. Approx 16/11
84
84
const DEF_FIG_AXES_BAK =" -Baf -BWSen"# Default fig axes for plot like programs
0 commit comments