Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
rename function to libraryExists()
  • Loading branch information
MichaelPlug committed Apr 26, 2022
commit b1577a235790e254f3f12572a9dc78b4dffa4237
2 changes: 1 addition & 1 deletion PythonKit/PythonLibrary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ extension PythonLibrary {
PythonLibrary.Environment.library.set(path)
}

public static func checkLibrary() -> Bool {
public static func libraryExists() -> Bool {
let pythonLibraryHandleTest = Self.loadPythonLibrary()
return Self.isPythonLibraryLoaded(at: pythonLibraryHandleTest)
}
Expand Down