Version française
Home     About     Download     Resources     Contact us    
Browse thread
native values in objects from c
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Michael Wohlwend <micha-1@f...>
Subject: native values in objects from c
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