]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/protected-scm.hh
Issue 4989/2: Fix Type 1 (PFB) font embedding
[lilypond.git] / lily / include / protected-scm.hh
index 48a26b15c995a4d948a5c4974dd9da02f414cb71..0115cb9f9ff6e2d388dd2fc714ec5639cdcc180c 100644 (file)
@@ -46,13 +46,14 @@ class Protected_scm
   static SCM list_;
   static SCM last_;
   Protected_scm (Protected_scm const &);
+  void protectify (SCM);
 public:
   Protected_scm ();
   Protected_scm (SCM);
-  ~Protected_scm ();
   Protected_scm &operator = (SCM);
   Protected_scm &operator = (Protected_scm const &);
-  operator SCM () const;
+  operator const SCM & () const;
+  operator SCM & ();
 };
 
 #endif /* PROTECTED_SCM_HH */