MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / af_create_event

Function af_create_event

src/api/c/events.cpp:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28af_event getHandle(Event &event) { return static_cast<af_event>(&event); }
29
30af_err af_create_event(af_event *handle) {
31 try {
32 AF_CHECK(af_init());
33 *handle = createEvent();
34 }
35 CATCHALL;
36
37 return AF_SUCCESS;
38}
39
40af_err af_delete_event(af_event handle) {
41 try {

Callers 2

TESTFunction · 0.50
eventMethod · 0.50

Calls 2

af_initFunction · 0.70
createEventFunction · 0.50

Tested by

no test coverage detected