TreeModel HAS_CHILD return



When implementing HAS_CHILD for a TreeModel, I tried to return a string
or undef as my boolean but got an error,

    Argument "\x{5e}\x{41}..." isn't numeric in subroutine entry at t-symlist-model.pl line 18.

gtk2perl_tree_model_iter_has_child looks like it uses POPi.  Could it
test the return with sv_true (or whichever test it is that correctly
handles magic)?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]