From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 84EE1BC29 for ; Tue, 29 Aug 2006 13:50:19 +0200 (CEST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by nez-perce.inria.fr (8.13.6/8.13.6) with SMTP id k7TBoE7C029076 for ; Tue, 29 Aug 2006 13:50:19 +0200 Received: (qmail 16624 invoked by uid 0); 29 Aug 2006 11:50:02 -0000 Received: from 194.25.187.120 by www115.gmx.net with HTTP; Tue, 29 Aug 2006 13:50:02 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 29 Aug 2006 13:50:02 +0200 From: "Michael Wohlwend" Message-ID: <20060829115002.108020@gmx.net> MIME-Version: 1.0 Subject: native values in objects from c To: caml-list@inria.fr X-Authenticated: #20477425 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 Content-Transfer-Encoding: 8bit X-Miltered: at nez-perce with ID 44F429F6.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; val:01 cheers:01 ihrer:98 isdn:98 strings:01 70%:98 native:02 objects:02 let:03 michael:08 michael:08 und:91 object:09 ...:90 ...:90 with that code: class x = object val name = "hoho" end;; let ho = new x in ... how do I access the field name form C? The docu says it should be the third field of the block, but that doesn't work for me (it has Tag 0, not 252 for strings ...) cheers, Michael -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer