sbinet / go-python

naive go bindings to the CPython2 C-API
Other
1.53k stars 138 forks source link

Add getter to internal C pointer to Cpython object. #52

Closed hush-hush closed 7 years ago

hush-hush commented 7 years ago

Following Issue https://github.com/sbinet/go-python/issues/51 this PR add a getter to the C pointer.

I created a getter instead of just exposing the pointer to avoid modifying the whole project.