Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
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
5 changes: 4 additions & 1 deletion shell/platform/linux/fl_method_response.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ struct _FlMethodNotImplementedResponse {
FlMethodResponse parent_instance;
};

// Added here to stop the compiler from optimising this function away.
// Added here to stop the compiler from optimising these functions away.
G_MODULE_EXPORT GType fl_method_response_get_type();
G_MODULE_EXPORT GType fl_method_success_response_get_type();
G_MODULE_EXPORT GType fl_method_error_response_get_type();
G_MODULE_EXPORT GType fl_method_not_implemented_response_get_type();

G_DEFINE_TYPE(FlMethodResponse, fl_method_response, G_TYPE_OBJECT)
G_DEFINE_TYPE(FlMethodSuccessResponse,
Expand Down