tests: cover ownership across ipc connections
This commit is contained in:
@@ -9,6 +9,31 @@ Str shownpre(Im*);
|
||||
|
||||
static int typekeys(struct ct*, char*, Str*);
|
||||
|
||||
void
|
||||
testengineinit(int lang)
|
||||
{
|
||||
init();
|
||||
im.l = getlang(lang);
|
||||
}
|
||||
|
||||
void
|
||||
testenginehandle(Keyreq *req)
|
||||
{
|
||||
imhandlekey(req);
|
||||
}
|
||||
|
||||
void*
|
||||
testengineowner(void)
|
||||
{
|
||||
return activeowner;
|
||||
}
|
||||
|
||||
void
|
||||
testenginepreedit(Str *preedit)
|
||||
{
|
||||
impre(preedit);
|
||||
}
|
||||
|
||||
void
|
||||
vietnamese_state_lifetime(struct ct *t)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user