Added g_object_ref_sink
This commit is contained in:
parent
c8787402da
commit
05fec1c211
|
@ -26,7 +26,6 @@ public
|
||||||
interface Gobject extends Library {
|
interface Gobject extends Library {
|
||||||
Gobject INSTANCE = (Gobject) Native.loadLibrary("gobject-2.0", Gobject.class);
|
Gobject INSTANCE = (Gobject) Native.loadLibrary("gobject-2.0", Gobject.class);
|
||||||
|
|
||||||
|
|
||||||
@Keep
|
@Keep
|
||||||
class GTypeClassStruct extends Structure {
|
class GTypeClassStruct extends Structure {
|
||||||
public
|
public
|
||||||
|
@ -163,6 +162,7 @@ interface Gobject extends Library {
|
||||||
|
|
||||||
void g_free(Pointer object);
|
void g_free(Pointer object);
|
||||||
void g_object_unref(Pointer object);
|
void g_object_unref(Pointer object);
|
||||||
|
void g_object_ref_sink(Pointer object);
|
||||||
|
|
||||||
NativeLong g_signal_connect_data(Pointer instance, String detailed_signal, Callback c_handler, Pointer data, Pointer destroy_data,
|
NativeLong g_signal_connect_data(Pointer instance, String detailed_signal, Callback c_handler, Pointer data, Pointer destroy_data,
|
||||||
int connect_flags);
|
int connect_flags);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user