From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p65GVkPc019411 for ; Tue, 5 Jul 2011 18:31:46 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq4AAHM7E06YToALkWdsb2JhbABTqAcUAQEBAQkLCwcUBSCIesFnhjYEkjaEag4JizY X-IronPort-AV: E=Sophos;i="4.65,480,1304287200"; d="scan'208";a="86648259" Received: from mailgate6.iss.soton.ac.uk ([152.78.128.11]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Jul 2011 18:31:41 +0200 Received: from mailgate6.iss.soton.ac.uk (localhost.localdomain [127.0.0.1]) by mailgate6.iss.soton.ac.uk (8.13.8/8.13.4) with ESMTP id p65GUiYq021979; Tue, 5 Jul 2011 17:30:44 +0100 Received: from UOS-MSG00012-SI.soton.ac.uk (uos-msg00012-si.soton.ac.uk [152.78.119.35]) by mailgate6.iss.soton.ac.uk (mailgate6.iss.soton.ac.uk [152.78.128.11]) envelope-from with ESMTP id n64HUi1243815023Yq ret-id none; Tue, 05 Jul 2011 17:30:44 +0100 Received: from [152.78.97.225] (152.78.97.225) by smtp.soton.ac.uk (152.78.119.35) with Microsoft SMTP Server (TLS) id 8.2.213.0; Tue, 5 Jul 2011 17:30:43 +0100 Message-ID: <4E133C2F.6050202@soton.ac.uk> Date: Tue, 5 Jul 2011 17:30:39 +0100 From: Thomas Fischbacher User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328) MIME-Version: 1.0 To: Dmitry Bely CC: Caml List References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-smtpf-Report: sid=n64HUi124381502300; tid=n64HUi1243815023Yq; client=relay,white,ipv6; mail=; rcpt=; nrcpt=2:0; fails=0 Received-SPF: None; receiver=mailgate6.iss.soton.ac.uk; client-ip=152.78.119.35; helo= Received-SPF: None; receiver=mailgate6.iss.soton.ac.uk; client-ip=152.78.119.35; envelope-from= X-UOS-MailScanner-Information: Please contact Serviceline@soton.ac.uk for more information X-UOS-MailScanner-ID: p65GUiYq021979 X-UOS-MailScanner: Found to be clean X-UOS-MailScanner-From: t.fischbacher@soton.ac.uk Subject: Re: [Caml-list] Nested callbacks? Dmitry Bely wrote: > Is it allowed to call a Caml closure from C (caml_callbackN_exn), that > calls another Caml closure internally (also with caml_callbackN_exn)? I strongly hope so! If this did not work, that would have disastrous consequences for the tight integration of Caml and Python which we are using. (Well, so far, we never encountered a problem with that. And the documentation does not warn against doing this - so, should it not work, that should be considered a bug.) -- best regards, Thomas Fischbacher t.fischbacher@soton.ac.uk