Founding of the BugFestival
This commit is contained in:
@@ -117,7 +117,7 @@ namespace JabyEngine {
|
||||
};
|
||||
|
||||
typedef InterruptVerifierResult (*InterruptVerifier)();
|
||||
typedef uint32_t (*InterruptHandler)(uint32_t);
|
||||
typedef void (*InterruptHandler)(uint32_t);
|
||||
using ThreadHandle = uint32_t;
|
||||
|
||||
#pragma pack(push, 1)
|
||||
@@ -127,8 +127,8 @@ namespace JabyEngine {
|
||||
InterruptVerifier verifier_function;
|
||||
uint32_t notUsed;
|
||||
|
||||
static constexpr InterruptCallback from_single_function(InterruptVerifier verifier) {
|
||||
return InterruptCallback{nullptr, nullptr, verifier, 0};
|
||||
static constexpr InterruptCallback from(InterruptVerifier verifier, InterruptHandler handler) {
|
||||
return InterruptCallback{nullptr, handler, verifier, 0};
|
||||
}
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
Reference in New Issue
Block a user