Unverified Commit 68e0e0b5 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil 🚴 Committed by GitHub
Browse files

Merge pull request #120 from giordano/mg/version

Rename `SBMLVersion` -> `Version` and unexport it
parents 8fc3bcb5 a9007924
......@@ -18,7 +18,7 @@ include("utils.jl")
sbml(sym::Symbol) = dlsym(SBML_jll.libsbml_handle, sym)
export SBMLVersion, readSBML, getS, getLBs, getUBs, getOCs
export readSBML, getS, getLBs, getUBs, getOCs
export set_level_and_version, libsbml_convert, convert_simplify_math
end # module
function SBMLVersion()
function SBML.Version()
Get the version of the used SBML library in Julia version format.
function SBMLVersion()::VersionNumber
function Version()::VersionNumber
VersionNumber(unsafe_string(ccall(sbml(:getLibSBMLDottedVersion), Cstring, ())))
@testset "CCall to SBML works and SBML returns a version" begin
@test SBMLVersion() isa VersionNumber
@test SBML.Version() isa VersionNumber
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment