init_list -> list_init

This commit is contained in:
Doug MacEachern 2008-03-26 16:46:21 +00:00
parent 3b5c3a85f0
commit 10505d14cb
2 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ static void sigar_set_pointer(JNIEnv *env, jobject obj, const void *ptr) {
#endif #endif
} }
int jsigar_init_list(JNIEnv *env, jsigar_list_t *obj) int jsigar_list_init(JNIEnv *env, jsigar_list_t *obj)
{ {
jclass listclass = jclass listclass =
JENV->FindClass(env, "java/util/ArrayList"); JENV->FindClass(env, "java/util/ArrayList");

View File

@ -42,7 +42,7 @@ typedef struct {
extern "C" { extern "C" {
#endif #endif
int jsigar_init_list(JNIEnv *env, jsigar_list_t *obj); int jsigar_list_init(JNIEnv *env, jsigar_list_t *obj);
int jsigar_list_add(void *data, char *value, int len); int jsigar_list_add(void *data, char *value, int len);