]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/item-scheme.cc
Issue4141/2: Use Xxx:is_smob instead of Xxx:unsmob when used in boolean contexts
[lilypond.git] / lily / item-scheme.cc
index 0887ac3d9af71a7f60577bb23667d8a98e76318e..58b98b29f59305503ba191c9eeb6540be6bb6719 100644 (file)
@@ -35,7 +35,7 @@ LY_DEFINE (ly_item_break_dir, "ly:item-break-dir",
            " end of line, @code{0}@tie{}unbroken, and"
            " @code{1}@tie{}beginning of line.")
 {
-  LY_ASSERT_TYPE (Item::unsmob, it, 1);
+  LY_ASSERT_SMOB (Item, it, 1);
   Item *me = Item::unsmob (it);
   return scm_from_int (me->break_status_dir ());
 }