Skip to content
  • Ryan Scott's avatar
    Add CBool to Foreign.C.Types · 0d769d5b
    Ryan Scott authored
    This adds a `CBool` type wrapping C99's `bool`, i.e., an `unsigned
    char`.
    
    Fixes #13136.
    
    Test Plan: ./validate on Tier-1 platforms
    
    Reviewers: austin, hvr, simonmar, bgamari
    
    Reviewed By: simonmar, bgamari
    
    Subscribers: thomie, erikd
    
    Differential Revision: https://phabricator.haskell.org/D2982
    
    GHC Trac Issues: #13136
    0d769d5b