Skip to content

Commit 350b921

Browse files
authored
Merge pull request #41 from philipturner/patch-1
Why is this public?
2 parents 361e6d4 + 962956b commit 350b921

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PythonKit/Python.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,14 +1649,14 @@ extension PythonObject: Error {}
16491649
// From Python's C Headers:
16501650
struct PyMethodDef {
16511651
/// The name of the built-in function/method
1652-
public var ml_name: UnsafePointer<Int8>
1652+
var ml_name: UnsafePointer<Int8>
16531653

16541654
/// The C function that implements it
1655-
public var ml_meth: @convention(c) (PyObjectPointer?, PyObjectPointer?) -> PyObjectPointer?
1655+
var ml_meth: @convention(c) (PyObjectPointer?, PyObjectPointer?) -> PyObjectPointer?
16561656

16571657
/// Combination of METH_xxx flags, which mostly describe the args expected by the C func
1658-
public var ml_flags: Int32
1658+
var ml_flags: Int32
16591659

16601660
/// The __doc__ attribute, or NULL
1661-
public var ml_doc: UnsafePointer<Int8>?
1661+
var ml_doc: UnsafePointer<Int8>?
16621662
}

0 commit comments

Comments
 (0)