caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] using modules to wrap c++ classes
@ 2012-05-03 12:22 Joel Reymont
  2012-05-03 13:35 ` Goswin von Brederlow
  0 siblings, 1 reply; 11+ messages in thread
From: Joel Reymont @ 2012-05-03 12:22 UTC (permalink / raw)
  To: caml-list

Suppose I have a C++ class with a bunch of methods that act as callbacks.

My callbacks will be hit if I derive the class and implement the
methods I'm interested in.

Now, I would like to wrap this class from OCaml.

This is straightforward from using OCaml classes (section 18.3.5 of
the manual) but is there a way to implement this using modules?

I don't think this is possible but would like to confirm.

    Thanks, Joel

--------------------------------------------------------------------------
Working on AlgoKit, a new algorithmic trading platform using Rithmic R|API
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-05-05 14:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-03 12:22 [Caml-list] using modules to wrap c++ classes Joel Reymont
2012-05-03 13:35 ` Goswin von Brederlow
2012-05-03 13:56   ` Joel Reymont
2012-05-03 14:27     ` Gabriel Scherer
2012-05-03 15:02       ` Joel Reymont
2012-05-03 18:41         ` Joel Reymont
2012-05-03 19:20           ` Joel Reymont
2012-05-04  8:43           ` Goswin von Brederlow
2012-05-04 17:23             ` Joel Reymont
2012-05-05 12:39               ` Goswin von Brederlow
2012-05-05 14:11                 ` Joel Reymont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).