2006-02-01 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/include/lily-guile-macros.hh (MAKE_SCHEME_CALLBACK): use
+ std::string not String.
+
+ * lily/context-def.cc (path_to_acceptable_context): use INT_MAX
+ iso UINT_MAX.
+
* lily/prob.cc (Prob): copy type_ too.
* lily/lily-guile.cc (mangle_cxx_identifier): new
}
}
- vsize best_depth = UINT_MAX;
+ vsize best_depth = INT_MAX;
for (vsize i = 0; i < accepteds.size (); i++)
{
Context_def *g = accepteds[i];
void \
TYPE ## _ ## FUNC ## _init_functions () \
{ \
- std::string id = mangle_cxx_identifier (String (#TYPE) + "::" + String (#FUNC));\
+ std::string id = mangle_cxx_identifier (std::string (#TYPE) + "::" + std::string (#FUNC)); \
TYPE ::FUNC ## _proc = scm_c_define_gsubr (id.c_str(), \
(ARGCOUNT), 0, 0, \
(Scheme_function_unknown) TYPE::FUNC); \