]> git.donarmstrong.com Git - lilypond.git/commitdiff
smobs.hh: mention that GUILE 1 gives callable structs at most 3 args
authorDavid Kastrup <dak@gnu.org>
Fri, 12 Jun 2015 15:34:17 +0000 (17:34 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 12 Jun 2015 15:34:17 +0000 (17:34 +0200)
lily/include/smobs.hh

index e95637cb7c8fda31faea46f6b50402baa89490e8..3bcec9931e77ae67da0639ee2234157335bf9f6b 100644 (file)
@@ -213,7 +213,12 @@ private:
   }
 
   // Well, function template argument packs are a C++11 feature.  So
-  // we just define a bunch of trampolines manually.
+  // we just define a bunch of trampolines manually.  It turns out
+  // that GUILEĀ 1.8.8 cannot actually make callable structures with
+  // more than 3 arguments anyway.  That's surprising, to say the
+  // least, but in emergency situations one can always use a "rest"
+  // argument and take it apart manually.
+
   template <SCM (Super::*pmf)(void)>
   static SCM smob_trampoline (SCM self)
   {