Commit a9007924 authored by Mosè Giordano's avatar Mosè Giordano
Browse files

Rename `SBMLVersion` -> `Version` and unexport it

parent 8fc3bcb5
......@@ -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