aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma_error.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-01 22:57:59 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-01 22:57:59 +0200
commitdda983eaeb98f37dbe5420b34d53d9b74fed5130 (patch)
tree07e294c933362da3944cfc6200e63364cf0cd344 /src/libgamma_error.py
parentw32 version of libgamma_native_error.pyx (diff)
downloadpylibgamma-dda983eaeb98f37dbe5420b34d53d9b74fed5130.tar.gz
pylibgamma-dda983eaeb98f37dbe5420b34d53d9b74fed5130.tar.bz2
pylibgamma-dda983eaeb98f37dbe5420b34d53d9b74fed5130.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma_error.py')
-rw-r--r--src/libgamma_error.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libgamma_error.py b/src/libgamma_error.py
index 0e742da..b9530fa 100644
--- a/src/libgamma_error.py
+++ b/src/libgamma_error.py
@@ -109,16 +109,6 @@ def perror(name : str, error_code : int):
libgamma_native_perror(name, error_code)
-def get_errno() -> int:
- '''
- Get the current value, for the current thread, of `errno`.
-
- @return The value `errno`.
- '''
- from libgamma_native_error import libgamma_native_get_errno
- return libgamma_native_get_errno()
-
-
def name_of_error(value : int) -> str:
'''
Returns the name of the definition associated with a `libgamma` error code.