]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/context-mod.hh
Issue 4878: Make type_p_name_ always char pointer
[lilypond.git] / lily / include / context-mod.hh
index 665dc3b64fa0f5de286b3d627cc893bcf0f049fb..81b1f34e36c47189b543eda186e84dbf66e6fb98 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2010--2014 Reinhold Kainhofer <reinhold@kainhofer.com>
+  Copyright (C) 2010--2015 Reinhold Kainhofer <reinhold@kainhofer.com>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -36,9 +36,9 @@
 */
 struct Context_mod : public Simple_smob<Context_mod>
 {
-  SCM mark_smob ();
-  static int print_smob (SCM, SCM, scm_print_state *);
-  static const char type_p_name_[];
+  SCM mark_smob () const;
+  int print_smob (SCM, scm_print_state *) const;
+  static const char * const type_p_name_;
 private:
   SCM mods_;
 public: