From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id FAA02462; Sun, 15 Jul 2001 05:18:09 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA02478 for ; Sun, 15 Jul 2001 05:18:07 +0200 (MET DST) Received: from str12.sobor.org (adsl-63-198-183-99.dsl.snfc21.pacbell.net [63.198.183.99]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f6F3I6D10799 for ; Sun, 15 Jul 2001 05:18:07 +0200 (MET DST) Received: from quasar.ipa.nw.ru (anza.sobor.org [192.168.123.51]) by str12.sobor.org (Postfix) with ESMTP id 2C4BEACBA9 for ; Sat, 14 Jul 2001 20:04:47 -0700 (PDT) Message-ID: <3B510B1B.4552AFA1@quasar.ipa.nw.ru> Date: Sat, 14 Jul 2001 20:16:43 -0700 From: "Alexander V. Voinov" Organization: Fear of the Lord is the beginning of wisdom X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: caml Subject: [Caml-list] Data_custom_val(v) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi Developers, I forgot to mention that Data_custom_val(v) doesn't allow for assignments in C++, instead I have to use value blk = alloc_custom(...); *(void **)&(Field(blk, 1)) = (void *)some_data; Alexander ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr