KubOS
|
KubOS-Core 0.1.0
Main Page
Modules
Files
File List
Globals
kubos-core
k_alloc.h
Go to the documentation of this file.
1
/*
2
* KubOS Core Flight Services
3
* Copyright (C) 2016 Kubos Corporation
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*/
17
33
#ifndef K_ALLOC_H
34
#define K_ALLOC_H
35
36
#include <stdlib.h>
37
38
typedef
struct
k_alloc
{
39
void
* (* _new)(
size_t
size);
40
void
* (* _realloc)(
void
* buff,
size_t
old_size,
size_t
new_size);
41
void (*
_free
)();
42
}
k_alloc_t
;
43
44
#endif
45
46
/* @} */
k_alloc::_free
void(* _free)()
Definition:
k_alloc.h:41
k_alloc_t
struct k_alloc k_alloc_t
k_alloc
Definition:
k_alloc.h:38
Generated by
1.8.11