-// ----------------------------------------------------------------------------
-// $Id$
-// ----------------------------------------------------------------------------
-// Public Domain C Library - http://pdclib.sourceforge.net
-// This code is Public Domain. Use, modify, and redistribute at will.
-// ----------------------------------------------------------------------------
-// Format conversion of integer types
-// ----------------------------------------------------------------------------
+/* ----------------------------------------------------------------------------
+ * $Id$
+ * ----------------------------------------------------------------------------
+ * Public Domain C Library - http://pdclib.sourceforge.net
+ * This code is Public Domain. Use, modify, and redistribute at will.
+ * ----------------------------------------------------------------------------
+ * Format conversion of integer types
+ * --------------------------------------------------------------------------*/
-#ifndef __INTTYPES_H
-#define __INTTYPES_H __INTTYPES_H
+#ifndef _INTTYPES_H
+#define _INTTYPES_H _INTTYPES_H
-// TODO: Documentation
+/* TODO: Documentation */
-// ----------------------------------------------------------------------------
-// TYPEDEFS
+/* ----------------------------------------------------------------------------
+ * TYPEDEFS
+ * --------------------------------------------------------------------------*/
typedef struct
{
}
imaxdiv_t;
-// ----------------------------------------------------------------------------
-// FUNCTIONS - C++
-
-#ifdef __cplusplus
-intmax_t abs( intmax_t i );
-imaxdiv_t div( intmax_t numer, intmax_t denom );
-#endif __cplusplus
-
-// ----------------------------------------------------------------------------
-// FUNCTIONS - Standard C
+/* ----------------------------------------------------------------------------
+ * FUNCTIONS
+ * --------------------------------------------------------------------------*/
intmax_t imaxabs( intmax_t i );
imaxdiv_t imaxdiv( intmax_t numer, intmax_t denom );
intmax_t wcstoimax( const wchar_t * restrict s, wchar_t * * restrict endptr, int base );
uintmax_t wcstoumax( const wchar_t * restrict s, wchar_t * * restrict endptr, int base );
-// ----------------------------------------------------------------------------
-// MACROS (PRINT)
+/* ----------------------------------------------------------------------------
+ * MACROS (PRINT)
+ * --------------------------------------------------------------------------*/
#define PRId8
#define PRId16
#define PRIXMAX
#define PRIXPTR
-// ----------------------------------------------------------------------------
-// MACROS (SCAN)
+/* ----------------------------------------------------------------------------
+ * MACROS (SCAN)
+ * --------------------------------------------------------------------------*/
#define SCNd8
#define SCNd16
#define SCNXMAX
#define SCNXPTR
-#endif // __INTTYPES_H
+#endif /* _INTTYPES_H */