backend refactor
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@683 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
7e7e9f776d
commit
295e685f54
14 changed files with 495 additions and 458 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue