diff options
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) |