Replies: 2 comments 3 replies
-
The Cairo documentation has this: typedef struct _cairo cairo_t; i.e.
Following the last part ("Typical usage is as follows"), you can define the type cairo_t
let cairo_t : cairo_t structure typ = structure "_cairo" |
Beta Was this translation helpful? Give feedback.
-
Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
Context
Ignoring all the nonsense around I have problem with context.
https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-t
I have no idea how to correctly express the type, because the ocaml bindings give me no clues.
https://github.com/Chris00/ocaml-cairo
How can I modify my code so the context works? Here I use ptr long and get the error.
Proposal
No response
Tasks and updates
No response
Beta Was this translation helpful? Give feedback.
All reactions