unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* C++ Embeded GOOPS interpreter
@ 2003-10-16 11:35 Laurent Marzullo
  2003-10-16 14:39 ` Andreas Rottmann
  2003-10-16 16:43 ` Matthias Koeppe
  0 siblings, 2 replies; 3+ messages in thread
From: Laurent Marzullo @ 2003-10-16 11:35 UTC (permalink / raw)


Hello,

I would like to write a C++ Application which will use a GOOPS
interpreter.

The C++ application will provide a set of class that could
be used in a scheme programme.

For example, I would like to provide:

class MyClass
{
    public:
        MyClass( int p );
        void SayHello( void );

    private:
        int   m_private;
};

(Perhaps the class above could be seen as:
(define-class <MyClass> ()
    (p #:init-value 0))


and to be able to write in scheme:

(define my_object (make <MyClass> #:p 5 ))

I've take a look at SWIG to generate wrapper function etc, but
it does not use GOOPS even with -c++ option ?
Is there any doc where I could find information of how to write C++
code to provide C++ class access in scheme ?

Thanks

-- 
Laurent Marzullo <marzullo@la-defense.oilfield.slb.com>



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


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

end of thread, other threads:[~2003-10-16 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-16 11:35 C++ Embeded GOOPS interpreter Laurent Marzullo
2003-10-16 14:39 ` Andreas Rottmann
2003-10-16 16:43 ` Matthias Koeppe

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 read-only IMAP folder(s) and NNTP newsgroup(s).