diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-02 09:47:48 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-02 09:47:48 +0200 |
commit | 19241f627259fef20231a505230c19e63ae807a0 (patch) | |
tree | a91dba6b4808e754d63b34b12d287ee7e694f7d9 /src/libgamma_native_error.pyx | |
parent | misc (diff) | |
download | pylibgamma-19241f627259fef20231a505230c19e63ae807a0.tar.gz pylibgamma-19241f627259fef20231a505230c19e63ae807a0.tar.bz2 pylibgamma-19241f627259fef20231a505230c19e63ae807a0.tar.xz |
fix misc errors + write test
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/libgamma_native_error.pyx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libgamma_native_error.pyx b/src/libgamma_native_error.pyx index b10dc5a..d88f7fe 100644 --- a/src/libgamma_native_error.pyx +++ b/src/libgamma_native_error.pyx @@ -93,6 +93,7 @@ def libgamma_native_set_group_gid(gid : int): Group that the user needs to be a member of if `LIBGAMMA_DEVICE_REQUIRE_GROUP` is returned. ''' + global libgamma_group_gid libgamma_group_gid = <int>gid @@ -120,6 +121,7 @@ def libgamma_native_set_group_name(name : str): `None` if the name of the group `libgamma_group_gid` cannot be determined. ''' + global libgamma_group_name cdef bytes bs if name is None: libgamma_group_name = <char*>NULL |