change ct_term internal interface
This commit is contained in:
parent
17d763c597
commit
866fd14b51
3 changed files with 50 additions and 34 deletions
8
src/ct_alloc.h
Normal file
8
src/ct_alloc.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef CURSETREE_ALLOC_H
|
||||
#define CURSETREE_ALLOC_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define CT_ALLOC(type, count) ((type *)malloc(sizeof(type) * count))
|
||||
|
||||
#endif /* CURSETREE_ALLOC_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue