未验证 提交 d9a24814 编写于 作者: J J-P Nurmi 提交者: GitHub

Add workaround for missing fl_method_xxx_response_get_type() symbols (#21405)

上级 c2938d06
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册