Line data Source code
1 : 2 : """ 3 : This module provides the [`greeting`](@ref) function for generating greetings. 4 : 5 : # Examples 6 : 7 : ```jldoctest 8 : julia> greeting("Grant") 9 : "Hello Grant" 10 : 11 : ``` 12 : """ 13 1 : module PKGNAME 14 : 15 : include("pkg_stuff.jl") 16 : 17 : using PackageExtensionCompat 18 5 : function __init__() 19 0 : @require_extensions 20 : end 21 : 22 : export HAS_NATIVE_EXTENSIONS 23 : HAS_NATIVE_EXTENSIONS = PackageExtensionCompat.HAS_NATIVE_EXTENSIONS 24 : 25 : if HAS_NATIVE_EXTENSIONS 26 : get_extension = Base.get_extension 27 : else 28 0 : get_extension(mod, sym) = getfield(mod, sym) 29 : end 30 : 31 : end # module PKGNAME