]> pd.if.org Git - pdclib/blobdiff - includes/stddef.h
Rough documentation on all functions.
[pdclib] / includes / stddef.h
index d72ca71cbad171877eb9e12db368e790d1afa6b4..3c6955b627e6034a7ecdcabe9e4e0ea2b34443c5 100644 (file)
@@ -4,26 +4,27 @@
 // Public Domain C Library - http://pdclib.sourceforge.net
 // This code is Public Domain. Use, modify, and redistribute at will.
 // ----------------------------------------------------------------------------
-// TODO
+// Common definitions
 // ----------------------------------------------------------------------------
 
 #ifndef __STDDEF_H
 #define __STDDEF_H __STDDEF_H
 
+// TODO: Documentation
+
 // ----------------------------------------------------------------------------
 // MACROS
 
-#define NULL  0
-#define offsetof( s-type, mbr ) // TODO
+#include "__NULL.h"
+
+#define offsetof( s-type, mbr ) // TODO - personality?
 
 // ----------------------------------------------------------------------------
 // TYPEDEFS
 
-typedef ptrdiff_t; // TODO
-typedef size_t;    // TODO
+#include "__size_t.h"
+#include "__wchar_t.h"
 
-#ifndef __cplusplus
-typedef wchar_t;
-#endif // __cplusplus
+typedef ptrdiff_t; // TODO - personality?
 
 #endif // __STDDEF_H