Skip to content

Commit 468c056

Browse files
committed
Rename entry_point to entrypoint (#152)
* Rename entry_point to entrypoint * Empty values are allowed
1 parent edc1700 commit 468c056

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

shell/platform/tizen/flutter_tizen.cc

+1-1
Original file line numberDiff line numberDiff 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
}

shell/platform/tizen/public/flutter_tizen.h

+4-4
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)