mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
15 lines
379 B
C
15 lines
379 B
C
#pragma once
|
|
|
|
typedef struct NvGpu NvGpu;
|
|
|
|
typedef struct {
|
|
NvGpu* parent;
|
|
Event event;
|
|
bool has_init;
|
|
} NvErrorNotifier;
|
|
|
|
Result nvErrorNotifierCreate(NvErrorNotifier* t, NvGpu* parent);
|
|
void nvErrorNotifierClose(NvErrorNotifier* t);
|
|
Result nvErrorNotifierWait(NvErrorNotifier* t, u64 timeout);
|
|
Result nvErrorNotifierGetError(NvErrorNotifier* t, NvError* out);
|