forked from KolibriOS/kolibrios
d59b725fc3
git-svn-id: svn://kolibrios.org@1157 a494cfbc-eb01-0410-851d-a64ba20cac60
25 lines
322 B
C++
Executable File
25 lines
322 B
C++
Executable File
/*
|
|
some standart libC helper functions
|
|
*/
|
|
|
|
static void* malloc(DWORD size)
|
|
{
|
|
return(gui_ksys_malloc(size));
|
|
}
|
|
|
|
static void free(void *memory)
|
|
{
|
|
gui_ksys_free(memory);
|
|
}
|
|
|
|
static void* realloc(void *old_mem,DWORD new_size)
|
|
{
|
|
return(gui_ksys_realloc(new_size,old_mem));
|
|
}
|
|
|
|
static void exit(int c)
|
|
{
|
|
gui_ksys_exit(c);
|
|
}
|
|
|