mirror of
https://github.com/drasko/codezero.git
synced 2026-01-15 04:13:16 +01:00
Created a config directory for configuration files. Moved all absolute path variables to a projpaths.py file All scripts can now universally learn absolute paths via projpaths.py Moved the config_symbols class to the configuration.py file. Moved libs to loader since they are only referred by the loader
21 lines
525 B
C
21 lines
525 B
C
#ifndef _LIBC_K_R_MALLOC_H_
|
|
#define _LIBC_K_R_MALLOC_H_
|
|
|
|
#define NALLOC 0x10000 /* minimum #units to request */
|
|
|
|
typedef long long Align; /* for alignment to long long boundary */
|
|
|
|
union header { /* block header */
|
|
struct {
|
|
union header *ptr; /* next block if on free list */
|
|
unsigned size; /* size of this block */
|
|
} s;
|
|
Align x; /* force alignment of blocks */
|
|
};
|
|
|
|
typedef union header Header;
|
|
|
|
Header *morecore(unsigned nu);
|
|
void __malloc_init(void*, void*);
|
|
#endif /* _LIBC_K_R_MALLOC_H_ */
|