Wrap lines in xext.vapi
This commit is contained in:
parent
9d277c97d7
commit
b8c929d3f4
43
xext.vapi
43
xext.vapi
|
@ -42,10 +42,13 @@ namespace X {
|
||||||
public ulong nitems;
|
public ulong nitems;
|
||||||
}
|
}
|
||||||
[CCode (cname = "XGetTextProperty")]
|
[CCode (cname = "XGetTextProperty")]
|
||||||
public int get_text_property (Display dpy, Window window, out TextProperty text_prop_return, Atom property);
|
public int get_text_property (Display dpy,
|
||||||
|
Window window, out TextProperty text_prop_return, Atom property);
|
||||||
|
|
||||||
[CCode (cname = "XmbTextPropertyToTextList")]
|
[CCode (cname = "XmbTextPropertyToTextList")]
|
||||||
public int mb_text_property_to_text_list (Display dpy, ref TextProperty text_prop, [CCode (type = "char ***")] out uint8 **list_return, out int count_return);
|
public int mb_text_property_to_text_list (Display dpy,
|
||||||
|
ref TextProperty text_prop,
|
||||||
|
[CCode (type = "char ***")] out uint8 **list_return, out int count_return);
|
||||||
[CCode (cname = "XFreeStringList")]
|
[CCode (cname = "XFreeStringList")]
|
||||||
public void free_string_list ([CCode (type = "char **")] uint8** list);
|
public void free_string_list ([CCode (type = "char **")] uint8** list);
|
||||||
}
|
}
|
||||||
|
@ -135,9 +138,11 @@ namespace X {
|
||||||
public int value_high32 (Value value);
|
public int value_high32 (Value value);
|
||||||
|
|
||||||
[CCode (cname = "XSyncValueAdd")]
|
[CCode (cname = "XSyncValueAdd")]
|
||||||
public void value_add (out Value result, Value a, Value b, out int poverflow);
|
public void value_add
|
||||||
|
(out Value result, Value a, Value b, out int poverflow);
|
||||||
[CCode (cname = "XSyncValueSubtract")]
|
[CCode (cname = "XSyncValueSubtract")]
|
||||||
public void value_subtract (out Value result, Value a, Value b, out int poverflow);
|
public void value_subtract
|
||||||
|
(out Value result, Value a, Value b, out int poverflow);
|
||||||
|
|
||||||
[CCode (cname = "XSyncMaxValue")]
|
[CCode (cname = "XSyncMaxValue")]
|
||||||
public void max_value (out Value pv);
|
public void max_value (out Value pv);
|
||||||
|
@ -186,15 +191,15 @@ namespace X {
|
||||||
public AlarmState state;
|
public AlarmState state;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: XSyncAlarmError
|
|
||||||
// TODO: XSyncCounterError
|
|
||||||
|
|
||||||
[CCode (cname = "XSyncQueryExtension")]
|
[CCode (cname = "XSyncQueryExtension")]
|
||||||
public X.Status query_extension (X.Display dpy, out int event_base, out int error_base);
|
public X.Status query_extension (X.Display dpy,
|
||||||
|
out int event_base, out int error_base);
|
||||||
[CCode (cname = "XSyncInitialize")]
|
[CCode (cname = "XSyncInitialize")]
|
||||||
public X.Status initialize (X.Display dpy, out int major_version, out int minor_version);
|
public X.Status initialize (X.Display dpy,
|
||||||
|
out int major_version, out int minor_version);
|
||||||
[CCode (cname = "XSyncListSystemCounters")]
|
[CCode (cname = "XSyncListSystemCounters")]
|
||||||
public SystemCounter *list_system_counters (X.Display dpy, out int n_counters);
|
public SystemCounter *list_system_counters (X.Display dpy,
|
||||||
|
out int n_counters);
|
||||||
[CCode (cname = "XSyncFreeSystemCounterList")]
|
[CCode (cname = "XSyncFreeSystemCounterList")]
|
||||||
public void free_system_counter_list (SystemCounter *counters);
|
public void free_system_counter_list (SystemCounter *counters);
|
||||||
|
|
||||||
|
@ -207,19 +212,24 @@ namespace X {
|
||||||
[CCode (cname = "XSyncDestroyCounter")]
|
[CCode (cname = "XSyncDestroyCounter")]
|
||||||
public X.Status destroy_counter (X.Display dpy, X.ID counter);
|
public X.Status destroy_counter (X.Display dpy, X.ID counter);
|
||||||
[CCode (cname = "XSyncQueryCounter")]
|
[CCode (cname = "XSyncQueryCounter")]
|
||||||
public X.Status query_counter (X.Display dpy, X.ID counter, out Value value);
|
public X.Status query_counter (X.Display dpy,
|
||||||
|
X.ID counter, out Value value);
|
||||||
|
|
||||||
[CCode (cname = "XSyncAwait")]
|
[CCode (cname = "XSyncAwait")]
|
||||||
public X.Status await (X.Display dpy, WaitCondition *wait_list, int n_conditions);
|
public X.Status await (X.Display dpy,
|
||||||
|
WaitCondition *wait_list, int n_conditions);
|
||||||
|
|
||||||
[CCode (cname = "XSyncCreateAlarm")]
|
[CCode (cname = "XSyncCreateAlarm")]
|
||||||
public X.ID create_alarm (X.Display dpy, CA values_mask, ref AlarmAttributes values);
|
public X.ID create_alarm (X.Display dpy,
|
||||||
|
CA values_mask, ref AlarmAttributes values);
|
||||||
[CCode (cname = "XSyncDestroyAlarm")]
|
[CCode (cname = "XSyncDestroyAlarm")]
|
||||||
public X.Status destroy_alarm (X.Display dpy, X.ID alarm);
|
public X.Status destroy_alarm (X.Display dpy, X.ID alarm);
|
||||||
[CCode (cname = "XSyncQueryAlarm")]
|
[CCode (cname = "XSyncQueryAlarm")]
|
||||||
public X.Status query_alarm (X.Display dpy, X.ID alarm, out AlarmAttributes values_return);
|
public X.Status query_alarm (X.Display dpy,
|
||||||
|
X.ID alarm, out AlarmAttributes values_return);
|
||||||
[CCode (cname = "XSyncChangeAlarm")]
|
[CCode (cname = "XSyncChangeAlarm")]
|
||||||
public X.Status change_alarm (X.Display dpy, X.ID alarm, CA values_mask, ref AlarmAttributes values);
|
public X.Status change_alarm (X.Display dpy,
|
||||||
|
X.ID alarm, CA values_mask, ref AlarmAttributes values);
|
||||||
|
|
||||||
[CCode (cname = "XSyncSetPriority")]
|
[CCode (cname = "XSyncSetPriority")]
|
||||||
public X.Status set_priority (X.Display dpy, X.ID alarm, int priority);
|
public X.Status set_priority (X.Display dpy, X.ID alarm, int priority);
|
||||||
|
@ -227,7 +237,8 @@ namespace X {
|
||||||
public X.Status get_priority (X.Display dpy, X.ID alarm, out int priority);
|
public X.Status get_priority (X.Display dpy, X.ID alarm, out int priority);
|
||||||
|
|
||||||
[CCode (cname = "XSyncCreateFence")]
|
[CCode (cname = "XSyncCreateFence")]
|
||||||
public X.ID create_fence (X.Display dpy, X.Drawable d, int initially_triggered);
|
public X.ID create_fence (X.Display dpy,
|
||||||
|
X.Drawable d, int initially_triggered);
|
||||||
[CCode (cname = "XSyncTriggerFence")]
|
[CCode (cname = "XSyncTriggerFence")]
|
||||||
public int trigger_fence (X.Display dpy, X.ID fence);
|
public int trigger_fence (X.Display dpy, X.ID fence);
|
||||||
[CCode (cname = "XSyncResetFence")]
|
[CCode (cname = "XSyncResetFence")]
|
||||||
|
|
Loading…
Reference in New Issue