mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-18 07:04:07 +00:00
backend refactor
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@683 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -48,10 +48,10 @@ char* (*MwLLGetClipboard)(MwLL handle);
|
||||
void (*MwLLMakeToolWindow)(MwLL handle);
|
||||
|
||||
void MwLLCreateCommon(MwLL handle) {
|
||||
handle->handler = malloc(sizeof(*handle->handler));
|
||||
memset(handle->handler, 0, sizeof(*handle->handler));
|
||||
handle->common.handler = malloc(sizeof(*handle->common.handler));
|
||||
memset(handle->common.handler, 0, sizeof(*handle->common.handler));
|
||||
}
|
||||
|
||||
void MwLLDestroyCommon(MwLL handle) {
|
||||
free(handle->handler);
|
||||
free(handle->common.handler);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user