From: Jonathan Roewen <jonathan.roewen@gmail.com>
To: Olivier Andrieu <andrieu@ijm.jussieu.fr>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Initialising caml values from C
Date: Wed, 20 Apr 2005 10:09:22 +1200 [thread overview]
Message-ID: <ad8cfe7e0504191509606b7a4d@mail.gmail.com> (raw)
In-Reply-To: <20050419.113716.74731383.andrieu@ijm.jussieu.fr>
> I don't quite understand your problem.
>
> Is it that the code (with Cairo) isn't working ? (and if yes,
> what exactly isn't working ?)
Yes, cairo doesn't draw anything if I try initialise the values that way.
The problem is initialising the global values. They don't seem to work
if initialising them requires calling an external function.
like:
let height = get_lfb_height () (* where that is an external function *)
Basically, I want to avoid creating global refs, especially to more
complex structures.
prev parent reply other threads:[~2005-04-19 22:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-19 8:55 Jonathan Roewen
2005-04-19 9:37 ` [Caml-list] " Olivier Andrieu
2005-04-19 22:09 ` Jonathan Roewen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ad8cfe7e0504191509606b7a4d@mail.gmail.com \
--to=jonathan.roewen@gmail.com \
--cc=andrieu@ijm.jussieu.fr \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox