Skip to content

Commit

Permalink
Merge pull request #81 from rdeits/v0.6-precompile
Browse files Browse the repository at this point in the history
Fix precompile() calls on v0.6-dev
  • Loading branch information
staticfloat authored Feb 10, 2017
2 parents a002078 + 78cb7ae commit b88a074
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions src/precompile.jl
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
# This file autogenerated through https://github.com/timholy/SnoopCompile.jl. Precompile every day!
function _precompile_()
ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
precompile(Nettle.call, (Type{Nettle.Decryptor}, Compat.ASCIIString, Vector{UInt8},))
precompile(Nettle.call, (Type{Nettle.HMACState}, Compat.ASCIIString, Vector{UInt8},))
precompile(Nettle.call, (Type{Nettle.CipherType}, Nettle.NettleCipher,))
precompile(Nettle.call, (Type{Nettle.HashType}, Nettle.NettleHash, Ptr{Void},))
precompile(Nettle.call, (Type{Nettle.Encryptor}, Compat.ASCIIString, Vector{UInt8},))
precompile(Nettle.call, (Type{Nettle.Hasher}, Compat.ASCIIString,))
precompile(Nettle.call, (Type{Nettle.HMACState}, Compat.ASCIIString, Compat.ASCIIString,))
if VERSION >= v"0.6-"
# call() overloading was removed in v0.6
precompile(Nettle.Decryptor, (Compat.ASCIIString, Vector{UInt8},))
precompile(Nettle.HMACState, (Compat.ASCIIString, Vector{UInt8},))
precompile(Nettle.CipherType, (Nettle.NettleCipher,))
precompile(Nettle.HashType, (Nettle.NettleHash, Ptr{Void},))
precompile(Nettle.Encryptor, (Compat.ASCIIString, Vector{UInt8},))
precompile(Nettle.Hasher, (Compat.ASCIIString,))
precompile(Nettle.HMACState, (Compat.ASCIIString, Compat.ASCIIString,))
precompile(Nettle.HashType, (Compat.ASCIIString, UInt32, UInt32, UInt32, Ptr{Void}, Ptr{Void}, Ptr{Void}, Ptr{Void},))
precompile(Nettle.CipherType, (Compat.ASCIIString, UInt32, UInt32, UInt32, Ptr{Void}, Ptr{Void}, Ptr{Void}, Ptr{Void},))
else
precompile(Nettle.call, (Type{Nettle.Decryptor}, Compat.ASCIIString, Vector{UInt8},))
precompile(Nettle.call, (Type{Nettle.HMACState}, Compat.ASCIIString, Vector{UInt8},))
precompile(Nettle.call, (Type{Nettle.CipherType}, Nettle.NettleCipher,))
precompile(Nettle.call, (Type{Nettle.HashType}, Nettle.NettleHash, Ptr{Void},))
precompile(Nettle.call, (Type{Nettle.Encryptor}, Compat.ASCIIString, Vector{UInt8},))
precompile(Nettle.call, (Type{Nettle.Hasher}, Compat.ASCIIString,))
precompile(Nettle.call, (Type{Nettle.HMACState}, Compat.ASCIIString, Compat.ASCIIString,))
precompile(Nettle.call, (Type{Nettle.HashType}, Compat.ASCIIString, UInt32, UInt32, UInt32, Ptr{Void}, Ptr{Void}, Ptr{Void}, Ptr{Void},))
precompile(Nettle.call, (Type{Nettle.CipherType}, Compat.ASCIIString, UInt32, UInt32, UInt32, Ptr{Void}, Ptr{Void}, Ptr{Void}, Ptr{Void},))
end
precompile(Nettle.encrypt!, (Nettle.Encryptor, Vector{UInt8}, Vector{UInt8},))
precompile(Nettle.decrypt!, (Nettle.Decryptor, Vector{UInt8}, Vector{UInt8},))
precompile(Nettle.digest!, (Nettle.HMACState,))
precompile(Nettle.get_cipher_types, ())
precompile(Nettle.get_hash_types, ())
precompile(Nettle.digest!, (Nettle.Hasher,))
precompile(Nettle.call, (Type{Nettle.HashType}, Compat.ASCIIString, UInt32, UInt32, UInt32, Ptr{Void}, Ptr{Void}, Ptr{Void}, Ptr{Void},))
precompile(Nettle.get_libnettle_version, ())
precompile(Nettle.call, (Type{Nettle.CipherType}, Compat.ASCIIString, UInt32, UInt32, UInt32, Ptr{Void}, Ptr{Void}, Ptr{Void}, Ptr{Void},))
precompile(Nettle.update!, (Nettle.HMACState, Vector{UInt8},))
precompile(Nettle.update!, (Nettle.Hasher, Compat.ASCIIString,))
precompile(Nettle.decrypt, (Compat.ASCIIString, Vector{UInt8}, Vector{UInt8},))
Expand Down

0 comments on commit b88a074

Please sign in to comment.