Skip to content

Commit 79e27bb

Browse files
committed
Add pycall_pyptr_get_pyobj_ptr
1 parent c2b83d2 commit 79e27bb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ext/pycall/pycall.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ get_pyobj_ptr(VALUE obj)
143143
return pyobj;
144144
}
145145

146+
PyObject *
147+
pycall_pyptr_get_pyobj_ptr(VALUE pyptr)
148+
{
149+
return get_pyobj_ptr(pyptr);
150+
}
151+
146152
static inline PyObject*
147153
try_get_pyobj_ptr(VALUE obj)
148154
{

0 commit comments

Comments
 (0)