Structs

Enums

Constants

ndk-glue macros register the reading end of an event pipe with the main ThreadLooper under this ident. When returned from ThreadLooper::poll_* an event can be retrieved from poll_events().

The InputQueue received from Android is registered with the main ThreadLooper under this ident. When returned from ThreadLooper::poll_* an event can be retrieved from input_queue().

Functions

This function accesses a static variable internally and must only be used if you are sure there is exactly one version of ndk_glue in your dependency tree.

Safety

Returns an InputQueue held inside a lock, preventing Android from freeing it immediately in its InputQueue destructor.

This function accesses a static variable internally and must only be used if you are sure there is exactly one version of ndk_glue in your dependency tree.

Returns a NativeWindow held inside a lock, preventing Android from freeing it immediately in its NativeWindow destructor.

Attribute Macros