From 9bc25029ee43b36194a6003dded9a8d800a8a07a Mon Sep 17 00:00:00 2001 From: panne Date: Sun, 13 Jun 2004 17:16:40 +0000 Subject: [PATCH] [project @ 2004-06-13 17:16:40 by panne] The FFI report does not mention that CClock and CTime have instances for Bounded, Real, Integral, and Bits. --- Foreign/C/Types.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Foreign/C/Types.hs b/Foreign/C/Types.hs index 9816f12..8a09e44 100644 --- a/Foreign/C/Types.hs +++ b/Foreign/C/Types.hs @@ -154,8 +154,8 @@ INTEGRAL_TYPE(CSigAtomic,tyConCSigAtomic,"CSigAtomic",HTYPE_SIG_ATOMIC_T) "fromIntegral/CSigAtomic->a" fromIntegral = \(CSigAtomic x) -> fromIntegral x #-} -INTEGRAL_TYPE(CClock,tyConCClock,"CClock",HTYPE_CLOCK_T) -INTEGRAL_TYPE(CTime,tyConCTime,"CTime",HTYPE_TIME_T) +NUMERIC_TYPE(CClock,tyConCClock,"CClock",HTYPE_CLOCK_T) +NUMERIC_TYPE(CTime,tyConCTime,"CTime",HTYPE_TIME_T) -- FIXME: Implement and provide instances for Eq and Storable data CFile = CFile -- 1.7.10.4