PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=5
-PATCH_LEVEL=9
+PATCH_LEVEL=10
MY_PATCH_LEVEL=
SCM elts = me->get_property ("elements");
SCM order_vec = me->get_property ("break-align-orders");
if (!scm_is_vector (order_vec)
- || ly_vector_length (order_vec) < 3)
+ || scm_c_vector_length (order_vec) < 3)
return Pointer_group_interface__extract_grobs (me, (Grob*)0,
"elements");
SCM order = scm_vector_ref (order_vec,
#define scm_c_string_length(x) SCM_STRING_LENGTH (x)
#define scm_is_pair(x) (SCM_CONSP (x))
-#define SCM_VECTOR_LENGTH(x) scm_c_vector_length(x)
-#define SCM_VECTOR_REF(x,y) scm_c_vector_ref(x,y)
+#define scm_c_vector_length(x) SCM_VECTOR_LENGTH(x)
+#define scm_c_vector_ref(x,y) SCM_VECTOR_REF(x,y)
inline double ly_scm2double (SCM x) { return scm_num2dbl (x, "ly_scm2double"); }
#define scm_to_double(x) (ly_scm2double (x))
inline unsigned long ly_length (SCM x) {
return scm_num2ulong (scm_length (x), 0, "ly_length");
}
-inline unsigned long ly_vector_length (SCM x) { return SCM_VECTOR_LENGTH (x); }
-
inline SCM ly_bool2scm (bool x) { return SCM_BOOL (x); }
inline SCM ly_append2 (SCM x1, SCM x2) {
{
if (scm_is_pair (src))
return scm_cons (ly_deep_copy (scm_car (src)), ly_deep_copy (scm_cdr (src)));
- else if (ly_c_vector_p (src))
+ else if (scm_is_vector (src))
{
int len = scm_c_vector_length (src);
SCM nv = scm_c_make_vector (len, SCM_UNDEFINED);
SCM idx = scm_int2num (pit->get_notename ());
SCM names = me->get_property ("note-names");
SCM charstr = SCM_EOL;
- if (ly_c_vector_p (names))
+ if (scm_is_vector (names))
charstr = scm_vector_ref (names, idx);
- else
+ else
{
char s[2] = "a";
s[0] = (pit->get_notename () + 2)%7 + 'a';
Shaped note heads change on step of the scale.
*/
SCM shape_vector = get_property ("shapeNoteStyles");
- if (ly_c_vector_p (shape_vector))
+ if (scm_is_vector (shape_vector))
{
SCM scm_tonic = get_property ("tonic");
Pitch tonic (0,0,0);
Quote_iterator::quote_ok () const
{
return (event_idx_ >= 0
- && ly_c_vector_p (event_vector_)
+ && scm_is_vector (event_vector_)
&& event_idx_ <= end_idx_
/*
if (Music_wrapper_iterator::ok())
Music_wrapper_iterator::process (m);
- if (!ly_c_vector_p (event_vector_))
+ if (!scm_is_vector (event_vector_))
return ;
if (event_idx_ < 0)