File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ FlutterDesktopEngineRef FlutterDesktopRunEngine(
4040 window_properties.height , window_properties.transparent ,
4141 window_properties.focusable );
4242 }
43- if (!engine->RunEngine (engine_properties.entry_point )) {
43+ if (!engine->RunEngine (engine_properties.entrypoint )) {
4444 FT_LOG (Error) << " Failed to start the Flutter engine." ;
4545 return nullptr ;
4646 }
Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ typedef struct {
5555 const char * * switches ;
5656 // The number of elements in |switches|.
5757 size_t switches_count ;
58- // The optional entry point in the Dart project, if the entry point is null,
59- // defaults to main().
60- const char * entry_point ;
58+ // The optional entrypoint in the Dart project. If the value is null or
59+ // empty, defaults to main().
60+ const char * entrypoint ;
6161 // Number of elements in the array passed in as dart_entrypoint_argv.
6262 int dart_entrypoint_argc ;
6363 // Array of Dart entrypoint arguments. This is deep copied during the call
64- // to FlutterDesktopEngineCreate .
64+ // to FlutterDesktopRunEngine .
6565 const char * * dart_entrypoint_argv ;
6666} FlutterDesktopEngineProperties ;
6767
You can’t perform that action at this time.
0 commit comments