diff options
Diffstat (limited to '')
| -rw-r--r-- | src/libgamma_error.py | 10 | ||||
| -rw-r--r-- | src/libgamma_native_error.pyx | 15 | ||||
| -rw-r--r-- | src/libgamma_native_error.w32.pyx | 15 | 
3 files changed, 0 insertions, 40 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. diff --git a/src/libgamma_native_error.pyx b/src/libgamma_native_error.pyx index f1b423c..8696d10 100644 --- a/src/libgamma_native_error.pyx +++ b/src/libgamma_native_error.pyx @@ -22,12 +22,6 @@ cimport cython  from posix.unistd cimport gid_t -cdef extern int errno -''' -`errno` of course. -''' - -  cdef extern gid_t libgamma_group_gid  '''  Group that the user needs to be a member of if @@ -83,15 +77,6 @@ Return the value of a `libgamma` error definition refered to by name. -def libgamma_native_get_errno() -> int: -    ''' -    Get the current value, for the current thread, of `errno`. -     -    @return  The value `errno`. -    ''' -    return int(errno) - -  def libgamma_native_get_group_gid() -> int:      '''      Getter. diff --git a/src/libgamma_native_error.w32.pyx b/src/libgamma_native_error.w32.pyx index 10a510c..4d5aaac 100644 --- a/src/libgamma_native_error.w32.pyx +++ b/src/libgamma_native_error.w32.pyx @@ -20,12 +20,6 @@ along with this library.  If not, see <http://www.gnu.org/licenses/>.  cimport cython -cdef extern int errno -''' -`errno` of course. -''' - -  cdef extern short libgamma_group_gid  '''  Group that the user needs to be a member of if @@ -81,15 +75,6 @@ Return the value of a `libgamma` error definition refered to by name. -def libgamma_native_get_errno() -> int: -    ''' -    Get the current value, for the current thread, of `errno`. -     -    @return  The value `errno`. -    ''' -    return int(errno) - -  def libgamma_native_get_group_gid() -> int:      '''      Getter. | 
