getNumPieces :: MonadIO m =>  TorrentStatus -> m CInt
getNumPieces ho =
  liftIO . withPtr ho $ \hoPtr ->
  [CU.exp| int { $(torrent_status * hoPtr)->num_pieces } |]
getNumPieces :: MonadIO m =>  TorrentStatus -> m CInt
getNumPieces ho =
  liftIO . withPtr ho $ \hoPtr ->
  [CU.exp| int { $(torrent_status * hoPtr)->num_pieces } |]
getNumPieces ho =
  liftIO . withPtr ho $ \hoPtr ->
  [CU.exp| int { $(torrent_status * hoPtr)->num_pieces } |]