forked from pyrite-dev/milsko
common
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@31 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
61b442d259
commit
0bc58045ae
5 changed files with 26 additions and 22 deletions
11
src/lowlevel.c
Normal file
11
src/lowlevel.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* $Id$ */
|
||||
#include <Milsko/Milsko.h>
|
||||
|
||||
void MilskoLLCreateCommon(MilskoLL handle) {
|
||||
handle->callback = malloc(sizeof(*handle->callback));
|
||||
memset(handle->callback, 0, sizeof(*handle->callback));
|
||||
}
|
||||
|
||||
void MilskoLLDestroyCommon(MilskoLL handle) {
|
||||
free(handle->callback);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue