File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
android-activity/game-activity-csrc/game-activity/native_app_glue Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ static void* android_app_entry(void* param) {
233
233
pthread_cond_broadcast (& android_app -> cond );
234
234
pthread_mutex_unlock (& android_app -> mutex );
235
235
236
- _rust_glue_entry (android_app );
236
+ android_main (android_app );
237
237
238
238
android_app_destroy (android_app );
239
239
return NULL ;
Original file line number Diff line number Diff line change @@ -448,10 +448,10 @@ void android_app_clear_motion_events(struct android_input_buffer* inputBuffer);
448
448
void android_app_clear_key_events (struct android_input_buffer * inputBuffer );
449
449
450
450
/**
451
- * This is a springboard into the Rust glue layer that wraps calling the
452
- * main entry for the app itself .
451
+ * This is the function that application code must implement, representing
452
+ * the main entry to the app.
453
453
*/
454
- extern void _rust_glue_entry (struct android_app * app );
454
+ extern void android_main (struct android_app * app );
455
455
456
456
/**
457
457
* Set the filter to use when processing key events.
You can’t perform that action at this time.
0 commit comments