Skip to content

Rename entry_point to entrypoint #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shell/platform/tizen/flutter_tizen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ FlutterDesktopEngineRef FlutterDesktopRunEngine(
window_properties.height, window_properties.transparent,
window_properties.focusable);
}
if (!engine->RunEngine(engine_properties.entry_point)) {
if (!engine->RunEngine(engine_properties.entrypoint)) {
FT_LOG(Error) << "Failed to start the Flutter engine.";
return nullptr;
}
Expand Down
8 changes: 4 additions & 4 deletions shell/platform/tizen/public/flutter_tizen.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ typedef struct {
const char** switches;
// The number of elements in |switches|.
size_t switches_count;
// The optional entry point in the Dart project, if the entry point is null,
// defaults to main().
const char* entry_point;
// The optional entrypoint in the Dart project. If the value is null or
// empty, defaults to main().
const char* entrypoint;
// Number of elements in the array passed in as dart_entrypoint_argv.
int dart_entrypoint_argc;
// Array of Dart entrypoint arguments. This is deep copied during the call
// to FlutterDesktopEngineCreate.
// to FlutterDesktopRunEngine.
const char** dart_entrypoint_argv;
} FlutterDesktopEngineProperties;

Expand Down