55 |
struct state_node *next; |
struct state_node *next; |
56 |
}; |
}; |
57 |
|
|
58 |
struct state_table *init_state_table_with_size (JNIEnv *, jclass, jint); |
struct state_table *cp_gtk_init_state_table_with_size (JNIEnv *, jclass, jint); |
59 |
struct state_table *init_state_table (JNIEnv *, jclass); |
struct state_table *cp_gtk_init_state_table (JNIEnv *, jclass); |
60 |
|
|
61 |
/* lowlevel api */ |
/* lowlevel api */ |
62 |
void set_state_oid (JNIEnv *, jobject, struct state_table *, jint, void *); |
void cp_gtk_set_state_oid (JNIEnv *, jobject, struct state_table *, jint, void *); |
63 |
void *get_state_oid (JNIEnv *, jobject, struct state_table *, jint); |
void *cp_gtk_get_state_oid (JNIEnv *, jobject, struct state_table *, jint); |
64 |
void *remove_state_oid (JNIEnv *, jobject, struct state_table *, jint); |
void *cp_gtk_remove_state_oid (JNIEnv *, jobject, struct state_table *, jint); |
65 |
|
|
66 |
/* highlevel api */ |
/* highlevel api */ |
67 |
int set_state (JNIEnv *, jobject, struct state_table *, void *); |
int cp_gtk_set_state (JNIEnv *, jobject, struct state_table *, void *); |
68 |
void *get_state (JNIEnv *, jobject, struct state_table *); |
void *cp_gtk_get_state (JNIEnv *, jobject, struct state_table *); |
69 |
void *remove_state_slot (JNIEnv *, jobject, struct state_table *); |
void *cp_gtk_remove_state_slot (JNIEnv *, jobject, struct state_table *); |
70 |
|
|
71 |
#endif |
#endif |