mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 19:03:29 +00:00
name
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@33 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
#include <Milsko/Milsko.h>
|
||||
|
||||
void MilskoLLCreateCommon(MilskoLL handle) {
|
||||
handle->callback = malloc(sizeof(*handle->callback));
|
||||
memset(handle->callback, 0, sizeof(*handle->callback));
|
||||
handle->handler = malloc(sizeof(*handle->handler));
|
||||
memset(handle->handler, 0, sizeof(*handle->handler));
|
||||
}
|
||||
|
||||
void MilskoLLDestroyCommon(MilskoLL handle) {
|
||||
free(handle->callback);
|
||||
free(handle->handler);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user