Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No marshaller for CULLong and C2HSImp.CULLong #242

Closed
vmchale opened this issue Sep 26, 2019 · 2 comments
Closed

No marshaller for CULLong and C2HSImp.CULLong #242

vmchale opened this issue Sep 26, 2019 · 2 comments

Comments

@vmchale
Copy link
Contributor

vmchale commented Sep 26, 2019

This seems to be an oversight; I can work around it by using id to marshal in/out.

See e.g. https://github.com/vmchale/lzlib/blob/master/src/Codec/Lzip/Raw.chs#L86.

If I remove the id marshalers I get

c2hs: Errors during expansion of binding hooks:

src/Codec/Lzip/Raw.chs:83: (column 48) [ERROR]  >>> Missing "in" marshaller!
  There is no default marshaller for this combination of Haskell and C type:
  Haskell type: CULLong
  C type      : C2HSImp.CULLong
@deech
Copy link
Contributor

deech commented Sep 28, 2019

Fixed #243. Please close if it works for you.

@vmchale
Copy link
Contributor Author

vmchale commented Oct 2, 2019

Thanks :)

@vmchale vmchale closed this as completed Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants