Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Paolo Donadeo <p.donadeo@gmail.com>
To: OCaml mailing list <caml-list@yquem.inria.fr>,
	OCaml-Lua devel ML <ocaml-lua-devel@lists.forge.ocamlcore.org>
Subject: Re: [Caml-list] C binding and GC interaction: storing values outside the heap
Date: Thu, 9 Sep 2010 10:11:51 +0200	[thread overview]
Message-ID: <AANLkTime+fy42+EJsHdsfTL3pBNsbbuDvEuOCurJYoxk@mail.gmail.com> (raw)
In-Reply-To: <4C86B331.1060009@glondu.net>

On Tue, Sep 7, 2010 at 23:48, Stéphane Glondu wrote:
> Well... could you provide a full self-contained example?

Yes, but it could be confusing due to many other details. In any case:

$ git clone http://git.ocamlcore.org/ocaml-lua/ocaml-lua.git
$ git checkout remotes/origin/paolo_donadeo/segfault_hunting
$ cd src
$ ocamlbuild main.d.byte main.native

(You must have installed the Lua library, liblua5.1-0-dev in Debian/Ubuntu)


> How does that sound?

It could work, in the next few days I'll try this solution too.


-- 
Paolo


  reply	other threads:[~2010-09-09  8:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-07 20:58 Paolo Donadeo
2010-09-07 21:12 ` [Caml-list] " Stéphane Glondu
2010-09-07 21:23   ` Paolo Donadeo
2010-09-07 21:48     ` Stéphane Glondu
2010-09-09  8:11       ` Paolo Donadeo [this message]
2010-09-07 22:53 ` Damien Doligez
2010-09-09  8:16   ` Paolo Donadeo
2010-09-08  5:06 ` Romain Beauxis

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=AANLkTime+fy42+EJsHdsfTL3pBNsbbuDvEuOCurJYoxk@mail.gmail.com \
    --to=p.donadeo@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=ocaml-lua-devel@lists.forge.ocamlcore.org \
    /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