You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let desc = "Enqueue an event to `Queue` and return it.";
16
15
let details = [
17
16
"This event can be used with `olSyncEvent` and `olWaitEvents` and will be complete once all enqueued work prior to the `olCreateEvent` call is complete.",
@@ -23,8 +22,7 @@ def : Function {
23
22
let returns = [];
24
23
}
25
24
26
-
def : Function {
27
-
let name = "olDestroyEvent";
25
+
def olDestroyEvent : Function {
28
26
let desc = "Destroy the event and free all underlying resources.";
29
27
let details = [];
30
28
let params = [
@@ -33,8 +31,7 @@ def : Function {
33
31
let returns = [];
34
32
}
35
33
36
-
def : Function {
37
-
let name = "olSyncEvent";
34
+
def olSyncEvent : Function {
38
35
let desc = "Block the calling thread until the event is complete.";
39
36
let details = [];
40
37
let params = [
@@ -43,17 +40,15 @@ def : Function {
43
40
let returns = [];
44
41
}
45
42
46
-
def : Enum {
47
-
let name = "ol_event_info_t";
43
+
def ol_event_info_t : Enum {
48
44
let desc = "Supported event info.";
49
45
let is_typed = 1;
50
46
let etors = [
51
47
TaggedEtor<"QUEUE", "ol_queue_handle_t", "The handle of the queue associated with the device.">
52
48
];
53
49
}
54
50
55
-
def : Function {
56
-
let name = "olGetEventInfo";
51
+
def olGetEventInfo : Function {
57
52
let desc = "Queries the given property of the event.";
58
53
let details = [
59
54
"`olGetEventInfoSize` can be used to query the storage size "
@@ -77,8 +72,7 @@ def : Function {
77
72
];
78
73
}
79
74
80
-
def : Function {
81
-
let name = "olGetEventInfoSize";
75
+
def olGetEventInfoSize : Function {
82
76
let desc = "Returns the storage size of the given event query.";
0 commit comments