]> git.donarmstrong.com Git - lilypond.git/commitdiff
rename ly_assoc_front_x to ly_assoc_prepend_x, not inlined.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 28 Dec 2006 16:00:17 +0000 (17:00 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 28 Dec 2006 16:00:17 +0000 (17:00 +0100)
lily/include/lily-guile.hh
lily/lily-guile.cc

index 6aa25f828a90ec8a3d980b3a7e89fa7b975c01c6..e94d8ef557aac4c4d0aaddd99abfddbc3689486e 100644 (file)
@@ -83,11 +83,7 @@ SCM ly_hash2alist (SCM tab);
 SCM ly_hash_table_keys (SCM tab);
 int procedure_arity (SCM);
 
-/* inserts at front, removing dublicates */
-inline SCM ly_assoc_front_x (SCM alist, SCM key, SCM val)
-{
-  return scm_acons (key, val, scm_assoc_remove_x (alist, key));
-}
+SCM ly_assoc_prepend_x (SCM alist, SCM key, SCM val);
 inline bool ly_is_list (SCM x) { return SCM_NFALSEP (scm_list_p (x)); }
 inline bool ly_is_procedure (SCM x) { return SCM_NFALSEP (scm_procedure_p (x)); }
 inline bool ly_is_port (SCM x) { return SCM_NFALSEP (scm_port_p (x)); }
index dd5080b36737a88a98f90996470bb70b4b702a0d..8ba98a4a69a839f221db10d79cf7ace6fffb4279 100644 (file)
@@ -736,3 +736,10 @@ struct ly_t_double_cell
   SCM c;
   SCM d;
 };
+
+/* inserts at front, removing duplicates */
+SCM ly_assoc_prepend_x (SCM alist, SCM key, SCM val)
+{
+  return scm_acons (key, val, scm_assoc_remove_x (alist, key));
+}
+