Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Data_custom_val()
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Cannasse <warplayer@f...>
Subject: Re: [Caml-list] Data_custom_val()
> 
> How to use Data_custom_val as lvalue ?
> 

Try using the following macro :

#define LData_custom_val(v)  (*(value**)Data_custom_val(v))

Nicolas Cannasse

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners