]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/protected-scm.hh
release: 1.3.19
[lilypond.git] / lily / include / protected-scm.hh
index e83593a5376863ac670f5d344d3606be8768a439..cbe08a30c0cd3aaaccb3ae8bdf7c5e62f520e91a 100644 (file)
@@ -3,14 +3,14 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #ifndef PROTECTED_SCM_HH
 #define PROTECTED_SCM_HH
 
-#include "lily-guile.hh"
+#include <guile/gh.h>
 
 /*
   Mix GUILE GC with C++ ctors and dtors. 
@@ -23,8 +23,10 @@ public:
   Protected_scm (SCM);
   Protected_scm (Protected_scm const &);
   ~Protected_scm ();
-  Protected_scm &operator = (Protected_scm const &);
-  operator SCM ();
+  Protected_scm &operator = (SCM);
+  Protected_scm &operator =( Protected_scm const&);
+  operator SCM () const;
+  SCM to_SCM () const;
 };
 
 #endif /* PROTECTED_SCM_HH */