Skip to content

Commit b3a4d15

Browse files
committed
Show OwnedPyObjectPointer and PyObjectPointer
1 parent aacde35 commit b3a4d15

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

PythonKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'PythonKit'
3-
s.version = '0.3.1'
3+
s.version = '0.3.3'
44
s.summary = 'Swift framework to interact with Python.'
55

66
s.homepage = 'https://github.com/leggenda47/PythonKit'

PythonKit/Python.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525

2626
/// Typealias used when passing or returning a `PyObject` pointer with
2727
/// implied ownership.
28-
@usableFromInline
29-
typealias OwnedPyObjectPointer = PyObjectPointer
28+
public typealias OwnedPyObjectPointer = PyObjectPointer
3029

3130
/// A primitive reference to a Python C API `PyObject`.
3231
///

PythonKit/PythonLibrary+Symbols.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
// Required Python typealiases and constants.
1919
//===----------------------------------------------------------------------===//
2020

21-
@usableFromInline
22-
typealias PyObjectPointer = UnsafeMutableRawPointer
21+
public typealias PyObjectPointer = UnsafeMutableRawPointer
2322
typealias PyMethodDefPointer = UnsafeMutableRawPointer
2423
typealias PyCCharPointer = UnsafePointer<Int8>
2524
typealias PyBinaryOperation =

0 commit comments

Comments
 (0)