HsBool should be HsInt, not StgBool
authorSimon Marlow <simonmar@microsoft.com>
Tue, 18 Apr 2006 14:42:14 +0000 (14:42 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 18 Apr 2006 14:42:14 +0000 (14:42 +0000)
commitb3edde6c4e5f0e989db717710729af532ade882f
treed9937ca6d2d215c0afaf39ee2a741840fde9eea6
parentceaa116940587d4ea2e2104e3c3313002d852659
HsBool should be HsInt, not StgBool
StgBool is mapped to C's int type.  GHC doesn't currently know the
size of a C int on the target arch, it's easier to use StgInt instead.
I guess nobody ever uses Bool arguments to foreign imports/exports.
includes/HsFFI.h