diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-05 00:32:17 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-05 00:32:17 +0200 |
commit | 45c7ac6b8bed33fdbbcd3a2a497af5dcc6eafdc8 (patch) | |
tree | 7bad7421c6ea20aa94e11dbf907ea550a290e137 /src/libgamma_Site.c | |
parent | add documation to .c files (diff) | |
download | jlibgamma-45c7ac6b8bed33fdbbcd3a2a497af5dcc6eafdc8.tar.gz jlibgamma-45c7ac6b8bed33fdbbcd3a2a497af5dcc6eafdc8.tar.bz2 jlibgamma-45c7ac6b8bed33fdbbcd3a2a497af5dcc6eafdc8.tar.xz |
add names to the parameters in the .c files
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/libgamma_Site.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/libgamma_Site.c b/src/libgamma_Site.c index ba66c35..5edadfb 100644 --- a/src/libgamma_Site.c +++ b/src/libgamma_Site.c @@ -18,6 +18,10 @@ #include "libgamma_Site.h" +#define J JNIEnv* env, jclass class + + + /** * Create a site state. * @@ -27,7 +31,7 @@ * Element 1: The value for {@link #partitions_available} * Element 2: Error code, zero on success. */ -jlongArray Java_libgamma_Site_libgamma_1site_1create(JNIEnv *, jclass, jint, jstring); +jlongArray Java_libgamma_Site_libgamma_1site_1create(J, jint method, jstring site); /** @@ -36,7 +40,7 @@ jlongArray Java_libgamma_Site_libgamma_1site_1create(JNIEnv *, jclass, jint, jst * * @param address The site state. */ -void Java_libgamma_Site_libgamma_1site_1free(JNIEnv *, jclass, jlong); +void Java_libgamma_Site_libgamma_1site_1free(J, jlong address); /** @@ -45,5 +49,5 @@ void Java_libgamma_Site_libgamma_1site_1free(JNIEnv *, jclass, jlong); * @param address The site state. * @return Zero on success, and error code on failure. */ -jint Java_libgamma_Site_libgamma_1site_1restore(JNIEnv *, jclass, jlong); +jint Java_libgamma_Site_libgamma_1site_1restore(J, jlong address); |