guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calling define-class function from C++ source file


From: Laurent Marzullo
Subject: calling define-class function from C++ source file
Date: Fri, 17 Oct 2003 11:52:04 +0200

Hello,

Could anyone give me an example of how to call the function 
define-class from C++ once the goop module has been loaded.

// C++
scm_load_goops();
scm_apply( ??????? );

In fact I would like to write in C++ the following statment
(define-class <MyClass> ()
    (r #:init-value 0))

Could someone show me how to write this Scheme statment from
C/C++ ???

Thank you very much.
-- 
Laurent Marzullo <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]