|
From: | lilypond |
Subject: | Re: Issue 1355 in lilypond: Segfault with define-music-function |
Date: | Sun, 24 Oct 2010 21:33:56 +0000 |
Updates: Status: Started Owner: n.puttock Comment #1 on issue 1355 by n.puttock: Segfault with define-music-function http://code.google.com/p/lilypond/issues/detail?id=1355There's a thinko in stream-event.cc which means ly:stream-event? is broken: it uses the macro IMPLEMENT_TYPE_P () to define the type predicate for Stream_event. This should only be used for base-class smobs since it needs initializing via IMPLEMENT_SMOBS ().
ly:stream-event? is functionally equivalent to ly:prob?: it can't distinguish between stream events and music.
[Prev in Thread] | Current Thread | [Next in Thread] |