Open Magicloud opened 5 years ago
Could you post your definitions for Context
and the t
typedef?
t
is defined in header as typedef struct _cairo cairo_t;
, I have cairo
prefix.
Context
is defined as
{#pointer *t as Context foreign finalizer destroy newtype#}
outContext :: Ptr Context -> IO Context
outContext = fmap Context . newForeignPtr cairo_destroy
{#default out ``Context' [t *] outContext*#}
I got "Something went wrong."
{#default out ``Context' outContext*#}
I got "The phrase `out' is not allowed here."