| 218 | } |
| 219 | |
| 220 | bool battery_callback(int eventType, const EmscriptenBatteryEvent *e, void *userData) { |
| 221 | printf("%s\n", emscripten_event_type_to_string(eventType)); |
| 222 | log_battery_state(e); |
| 223 | return 0; |
| 224 | } |
| 225 | |
| 226 | bool webglcontext_callback(int eventType, const void *reserved, void *userData) { |
| 227 | printf("%s.\n", emscripten_event_type_to_string(eventType)); |
nothing calls this directly
no test coverage detected