imservice: Make imservice opaque
The structure is defined in Rust, with the intention of evaluating using Rust in this area. It's specifically not defined as repr(C), in order to encourage that. Without the repr, it was unsafe to have its members exposed in C.
This commit is contained in:
@ -4,11 +4,7 @@
|
||||
#include "input-method-unstable-v2-client-protocol.h"
|
||||
#include "eek/eek-types.h"
|
||||
|
||||
struct imservice
|
||||
{
|
||||
struct zwp_input_method_v2 *im;
|
||||
EekboardContextService *ui_manager;
|
||||
};
|
||||
struct imservice;
|
||||
|
||||
struct imservice* get_imservice(EekboardContextService *context,
|
||||
struct zwp_input_method_manager_v2 *manager,
|
||||
|
||||
Reference in New Issue
Block a user