You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
fix some gcc-reported warnings
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
#define LOOPER_H
|
||||
|
||||
typedef void ALooper;
|
||||
typedef int (*Looper_callbackFunc)(int fd, int events, void* data);
|
||||
|
||||
ALooper * ALooper_prepare(int opts);
|
||||
void ALooper_wake(ALooper *looper);
|
||||
bool ALooper_isPolling(ALooper *looper);
|
||||
int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
|
||||
int ALooper_addFd(ALooper* looper, int fd, int ident, int events, Looper_callbackFunc callback, void* data);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user