diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-03 12:29:48 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-03 12:29:48 -0400 |
commit | 33b9d606916f3847e0f754693ca49ce56175a330 (patch) | |
tree | eba26ad7722349ced40270f4a9a8083a58a7d453 /include/stddef.h | |
parent | track changes (diff) | |
download | comus-33b9d606916f3847e0f754693ca49ce56175a330.tar.gz comus-33b9d606916f3847e0f754693ca49ce56175a330.tar.bz2 comus-33b9d606916f3847e0f754693ca49ce56175a330.zip |
refactor include
Diffstat (limited to 'include/stddef.h')
-rw-r--r-- | include/stddef.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/stddef.h b/include/stddef.h new file mode 100644 index 0000000..2814c8d --- /dev/null +++ b/include/stddef.h @@ -0,0 +1,16 @@ +/** + * @file stddef.h + * @author Freya Murphy <freya@freyacat.org> + * + * Basic type definitions. + */ + +#ifndef _STDDEF_H +#define _STDDEF_H + +typedef int size_t; +typedef unsigned int usize_t; + +#define NULL ((void *)0) + +#endif /* stddef.h */ |