Tenno Seremel [2010-02-03 21:49]:
> >Your attachment didn't get through. Can you upload it somewhere?
> >Attaching it with MIME type text/plain might also help.
> 
> Is pastebin ok? http://pastebin.ca/1786116
> 
> >The notifier's return value is only ignored for plain results.
> 
> They are returned but not used or return value is not touched at all?

I don't understand the question. The caller ignores the return value.

> I don't know how it works under the hood however if it expect a boolean
> there can be an error (it's explained in this tutorial). If it's so it maybe I
> should mention it too.

The code in the Ruby bindings is this:


    /* Call the notifier block. */
    ret = rb_funcall (callback, rb_intern ("call"), 1, rbval);

    if (ret == Qnil || ret == Qfalse)
        return 0; /* don't call broadcast/signal again. */
    else if (ret == Qtrue)
        return 1; /* call me again. */
    else
        return NUM2INT (ret); /* No idea why is this here :-) */

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Attachment: pgp7EmE2t7dZf.pgp
Description: PGP signature

--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms.se
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel

Reply via email to