|
| 1 | +# ArgMacros |
| 2 | +# precompile.jl |
| 3 | + |
| 4 | +# Made with help of SnoopCompile.jl |
| 5 | +function _precompile_() |
| 6 | + ccall(:jl_generating_output, Cint, ()) == 1 || return nothing |
| 7 | + |
| 8 | + arg_types = (Float64, Float32, Int64, Int32, String, Symbol) |
| 9 | + for T in arg_types |
| 10 | + Base.precompile(Tuple{typeof(ArgMacros._converttype!),Type{T},String,String}) |
| 11 | + Base.precompile(Tuple{typeof(ArgMacros._converttype!),Type{T},Nothing,String}) |
| 12 | + for T2 in arg_types |
| 13 | + Base.precompile(Tuple{typeof(ArgMacros._converttype!),Type{T},T2,String}) |
| 14 | + end |
| 15 | + Base.precompile(Tuple{typeof(convert),Type{Union{Nothing, T}},T}) |
| 16 | + Base.precompile(Tuple{typeof(something),String,T}) |
| 17 | + end |
| 18 | + Base.precompile(Tuple{typeof(ArgMacros._getmacrocalls),Expr}) |
| 19 | + Base.precompile(Tuple{typeof(ArgMacros._get_macroname),Expr}) |
| 20 | + Base.precompile(Tuple{typeof(ArgMacros._getargumentpairs),Expr}) |
| 21 | + Base.precompile(Tuple{typeof(ArgMacros._getargumentpair),Expr}) |
| 22 | + Base.precompile(Tuple{typeof(ArgMacros._validateorder),Expr}) |
| 23 | + Base.precompile(Tuple{typeof(ArgMacros._split_arguments),Array{String,1}}) |
| 24 | + Base.precompile(Tuple{typeof(ArgMacros._split_multiflag),String}) |
| 25 | + Base.precompile(Tuple{typeof(ArgMacros._split_multiflag),SubString{String}}) |
| 26 | + Base.precompile(Tuple{typeof(ArgMacros._help_check),Array{String,1},Expr}) |
| 27 | + Base.precompile(Tuple{typeof(ArgMacros._get_option_idx),Array{String,1},Array{String,1}}) |
| 28 | + Base.precompile(Tuple{typeof(ArgMacros._pop_argval!),Array{String,1},Array{String,1}}) |
| 29 | + Base.precompile(Tuple{typeof(ArgMacros._pop_count!),Array{String,1},String}) |
| 30 | + Base.precompile(Tuple{typeof(ArgMacros._pop_flag!),Array{String,1},Array{String,1}}) |
| 31 | + Base.precompile(Tuple{typeof(ArgMacros._validateflags),Symbol,Tuple{String,String}}) |
| 32 | + Base.precompile(Tuple{typeof(ArgMacros._validateflags),Symbol,Tuple{String}}) |
| 33 | + |
| 34 | + Base.precompile(Tuple{typeof(Base.allocatedinline),Type{ArgMacros.Argument}}) |
| 35 | + Base.precompile(Tuple{Type{Base.GC_Diff},Base.GC_Num,Base.GC_Num}) |
| 36 | + Base.precompile(Tuple{typeof(getproperty),Base.GC_Diff,Symbol}) |
| 37 | + Base.precompile(Tuple{typeof(Base.gc_alloc_count),Base.GC_Diff}) |
| 38 | + Base.precompile(Tuple{typeof(Base.gc_num)}) |
| 39 | + Base.precompile(Tuple{typeof(include),String}) |
| 40 | + Base.precompile(Tuple{typeof(isnothing),String}) |
| 41 | + Base.precompile(Tuple{Type{Base.Generator},Type{QuoteNode},Array{Any,1}}) |
| 42 | + Base.precompile(Tuple{typeof(collect),Base.Generator{Array{Any,1},Type{QuoteNode}}}) |
| 43 | + Base.precompile(Tuple{typeof(collect),Base.Generator{Array{Any,1},typeof(esc)}}) |
| 44 | + Base.precompile(Tuple{typeof(Base._compute_eltype),Type{Tuple{String,Expr}}}) |
| 45 | + Base.precompile(Tuple{typeof(deleteat!),Array{String,1},Tuple{Int64,Int64}}) |
| 46 | + Base.precompile(Tuple{typeof(deleteat!),Array{String,1},Int64}) |
| 47 | +end |
0 commit comments