Skip to content
Snippets Groups Projects
Commit 828348d9 authored by Yichao Yu's avatar Yichao Yu
Browse files

typo...

parent bc4acf6b
No related branches found
No related tags found
No related merge requests found
...@@ -178,11 +178,11 @@ def _py_deref(_id): ...@@ -178,11 +178,11 @@ def _py_deref(_id):
def _get_ref_func(obj): def _get_ref_func(obj):
@_ffi.callback('void(unsigned long)') @_ffi.callback('void(unsigned long)')
def _insert(_id): def _insert(_id):
_pyref[_id] = obj _pyrefs[_id] = obj
return _insert return _insert
def _find_obj(_id): def _find_obj(_id):
return _pyref.get(_id, None) return _pyrefs.get(_id, None)
_lib.set_deref(_py_deref) _lib.set_deref(_py_deref)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment