Browse thread
question about how to bind c++ classes to ocaml
-
micha
-
Jacques Garrigue
- Jonathan Roewen
- Michael Wohlwend
-
Jacques Garrigue
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-08-14 (07:04) |
From: | Jonathan Roewen <jonathan.roewen@g...> |
Subject: | Re: [Caml-list] question about how to bind c++ classes to ocaml |
> Calls from ocaml to C are very cheap. If your access function doesn't > do any allocation (i.e. never calls the GC), you can even make it > faster by marking it as "noalloc". Beware many functions do > allocate, including copy_double or copy_string. Is this a special annotation for the external keyword? A quick glance over the ocaml manual doesn't show up anything. Jonathan