We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
{#default out ``Context' [t *] outContext*#}
I got "Something went wrong."
{#default out ``Context' outContext*#}
I got "The phrase `out' is not allowed here."
$ ~/.stack/snapshots/x86_64-linux-tinfo6/lts-12.22/8.4.4/bin/c2hs --version C->Haskell Compiler, version 0.28.6 Switcheroo, 25 November 2017 build platform is "x86_64-linux" <1, True, True, 1>
The text was updated successfully, but these errors were encountered:
Could you post your definitions for Context and the t typedef?
Context
t
Sorry, something went wrong.
t is defined in header as typedef struct _cairo cairo_t;, I have cairo prefix.
typedef struct _cairo cairo_t;
cairo
Context is defined as
{#pointer *t as Context foreign finalizer destroy newtype#} outContext :: Ptr Context -> IO Context outContext = fmap Context . newForeignPtr cairo_destroy
No branches or pull requests
{#default out ``Context' [t *] outContext*#}
I got "Something went wrong."
{#default out ``Context' outContext*#}
I got "The phrase `out' is not allowed here."
The text was updated successfully, but these errors were encountered: