-- addDependentFile examples/golden/binding-specs/name/type.h
{-| __C declaration:__ @sym@

    __defined at:__ @binding-specs\/name\/type.h 1:14@

    __exported by:__ @binding-specs\/name\/type.h@
-}
newtype MySym
    = MySym {unwrapMySym :: CChar}
      {- ^ __C declaration:__ @sym@

           __defined at:__ @binding-specs\/name\/type.h 1:14@

           __exported by:__ @binding-specs\/name\/type.h@
      -}
    deriving stock (Eq, Ord, Read, Show)
    deriving newtype (StaticSize,
                      ReadRaw,
                      WriteRaw,
                      Storable,
                      HasFFIType,
                      Prim,
                      Bitfield,
                      Bits,
                      Bounded,
                      Enum,
                      FiniteBits,
                      Integral,
                      Ix,
                      Num,
                      Real)
instance TyEq ty (CFieldType MySym "unwrapMySym") =>
         HasField "unwrapMySym" (Ptr MySym) (Ptr ty)
    where getField = fromPtr (Proxy @"unwrapMySym")
instance HasCField MySym "unwrapMySym"
    where type CFieldType MySym "unwrapMySym" = CChar
          offset# = \_ -> \_ -> 0
