]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/input-smob.cc
Issue 4082/3: Run scripts/auxiliar/smob-convert.sh
[lilypond.git] / lily / input-smob.cc
index 4aef6f122d09418ae043ddd750eb6e3a131e5a88..420177e2d71bb92bba1afa63052636da70f69aac 100644 (file)
@@ -21,7 +21,6 @@
 #include "source-file.hh"
 #include "std-string.hh"
 
-#include "ly-smobs.icc"
 
 /* Dummy input location for use if real one is missing.  */
 Input dummy_input_global;
@@ -42,7 +41,7 @@ mark_smob (SCM s)
 static int
 print_smob (SCM s, SCM port, scm_print_state *)
 {
-  string str = "#<location " + unsmob_input (s)->location_string () + ">";
+  string str = "#<location " + Input::unsmob (s)->location_string () + ">";
   scm_puts (str.c_str (), port);
   return 1;
 }
@@ -50,7 +49,7 @@ print_smob (SCM s, SCM port, scm_print_state *)
 static size_t
 free_smob (SCM s)
 {
-  delete unsmob_input (s);
+  delete Input::unsmob (s);
   return 0;
 }
 
@@ -88,7 +87,7 @@ make_input (Input ip)
 }
 
 Input *
-unsmob_input (SCM s)
+Input::unsmob (SCM s)
 {
   if (SCM_IMP (s))
     return 0;
@@ -99,4 +98,3 @@ unsmob_input (SCM s)
 }
 
 ADD_SCM_INIT_FUNC (input, start_input_smobs);
-