summaryrefslogtreecommitdiff
path: root/cffi/api.py
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2019-01-05 11:07:31 +0100
committerArmin Rigo <arigo@tunes.org>2019-01-05 11:07:31 +0100
commitdbdef41518d844776f05adb3dfd18d589d68b704 (patch)
tree275723dd47781426ee26325df526a94ab9977b4e /cffi/api.py
parent6fb435a06e781fe8ef23c0d9793c1d8a9457a2bd (diff)
downloadcffi-dbdef41518d844776f05adb3dfd18d589d68b704.tar.gz
ffi.release()
Diffstat (limited to 'cffi/api.py')
-rw-r--r--cffi/api.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cffi/api.py b/cffi/api.py
index 63468d0..326975d 100644
--- a/cffi/api.py
+++ b/cffi/api.py
@@ -530,6 +530,9 @@ class FFI(object):
def from_handle(self, x):
return self._backend.from_handle(x)
+ def release(self, x):
+ self._backend.release(x)
+
def set_unicode(self, enabled_flag):
"""Windows: if 'enabled_flag' is True, enable the UNICODE and
_UNICODE defines in C, and declare the types like TCHAR and LPTCSTR