Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASCallback.h
Go to the documentation of this file.
1#ifndef JASCALLBACK_H
2#define JASCALLBACK_H
3
4#include "dolphin/types.h"
5
6typedef long JASCallback(void*);
7
13 struct TCallback {
16 , mArgument(NULL) {
17 }
18
20 bool isMatch(JASCallback* function, void* argument) { return (mFunction == function && mArgument == argument); }
21
23 void clear() {
26 }
27
29 /* 0x04 */ void* mArgument;
30 };
31
32 bool regist(JASCallback*, void*);
33 int reject(JASCallback*, void*);
34 void callback();
35
36 /* 0x00 */ TCallback mCallbacks[0x20];
37};
38
39#endif /* JASCALLBACK_H */
long JASCallback(void *)
Definition JASCallback.h:6
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JASCallback.h:13
void * mArgument
Definition JASCallback.h:29
bool isMatch(JASCallback *function, void *argument)
Definition JASCallback.h:20
void clear()
Definition JASCallback.h:23
TCallback()
Definition JASCallback.h:14
JASCallback * mFunction
Definition JASCallback.h:28
Definition JASCallback.h:12
TCallback mCallbacks[0x20]
Definition JASCallback.h:36
bool regist(JASCallback *, void *)
Definition JASCallback.cpp:27
void callback()
Definition JASCallback.cpp:56
int reject(JASCallback *, void *)
Definition JASCallback.cpp:42