I'm using this include file and the following Haskell source:
module Test where
#include "nfc-types.h"
{#sizeof nfc_iso14443a_info#}
The output of c2hs is:
-- GENERATED by C->Haskell Compiler, version 0.28.1 Switcheroo, 1 April 2016 (Haskell)
-- Edit the ORIGNAL .chs file instead!
{-# LINE 1 "test.chs" #-}
module Test where
296
{-# LINE 5 "test.chs" #-}
I'm using this include file and the following Haskell source:
The output of c2hs is:
But when I compile the following program:
The output is: