]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/fluid.hh
Issue 4462/1: Create a module variable access system for C++
[lilypond.git] / lily / include / fluid.hh
index 44e908e6672abfaff89b24396b63a2b32f1e1366..eb7ebfbae0c91d4dadd35a33d4f600ddf4ed762b 100644 (file)
 // Fluid is a wrapper class for cached storage of GUILE fluids.
 // You use it like
 //
-//   Fluid parser (ly_lily_module_constant ("%parser"));
+//   Fluid parser (Lily::f_parser);
 //
 // and when you first access `parser' as an SCM value, its value is
-// fetched from the respective fluid (in this case `%parser') and
-// cached for future accesses.  Be sure to use ly_lily_module_constant
-// for the argument in order to have the SCM for the fluid itself only
-// looked up once per run.
+// fetched from the respective fluid (in this case `%parser', cf
+// lily/lily-imports.cc) and cached for future accesses.
 //
 // Since fluids act as implicit function parameters, it can only be
 // meaningfully employed for variables of automatic