diff options
author | Mattias Andrée <maandree@kth.se> | 2024-07-17 23:35:32 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-07-17 23:35:32 +0200 |
commit | 11d850fb5faa6fd130912dfea9eef4336acc7649 (patch) | |
tree | e0e9adfbbaefbbca7ad4cf3dfa6e49fab2e1e5c0 /libgamma_LibgammaException.c | |
parent | Empty signed commit (diff) | |
download | jlibgamma-11d850fb5faa6fd130912dfea9eef4336acc7649.tar.gz jlibgamma-11d850fb5faa6fd130912dfea9eef4336acc7649.tar.bz2 jlibgamma-11d850fb5faa6fd130912dfea9eef4336acc7649.tar.xz |
Update for libgamma 0.7.4 and fix bugs
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libgamma_LibgammaException.c')
-rw-r--r-- | libgamma_LibgammaException.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgamma_LibgammaException.c b/libgamma_LibgammaException.c index f686dd8..47c5fde 100644 --- a/libgamma_LibgammaException.c +++ b/libgamma_LibgammaException.c @@ -65,7 +65,7 @@ Java_libgamma_LibgammaException_value_1of_1error(JNIEnv *env, jclass class, jstr jint Java_libgamma_LibgammaException_libgamma_1group_1gid(JNIEnv *env, jclass class) { - return (jint)libgamma_group_gid; + return (jint)libgamma_group_gid_get(); (void) env; (void) class; } @@ -82,7 +82,7 @@ Java_libgamma_LibgammaException_libgamma_1group_1name(JNIEnv *env, jclass class) * and error handing makes this unnecessarily comples, * therefore we will simply skip it */ - const char *do_not_free_this = libgamma_group_name; + const char *do_not_free_this = libgamma_group_name_get(); char *this_will_be_freed; size_t n; if (!do_not_free_this) |