Changeset eede1bf


Ignore:
Timestamp:
Jul 27, 2009, 11:23:57 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
776c4bb
Parents:
65b9a40
git-author:
Nelson Elhage <nelhage@mit.edu> (07/27/09 19:54:29)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/27/09 23:23:57)
Message:
Export owl_function_debugmsg to perl as BarnOwl::debug().
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl.pm

    r2be605a reede1bf  
    1111                    start_question start_password start_edit_win
    1212                    get_data_dir get_config_dir popless_text popless_ztext
    13                     error
     13                    error debug
    1414                    create_style getnumcolors wordwrap
    1515                    add_dispath remove_dispatch
     
    143143callback or hook called in perl code from BarnOwl, a C<die> will be
    144144caught and passed to C<error>.
     145
     146=head2 debug STRING
     147
     148Logs a debugging message to BarnOwl's debug log
    145149
    146150=head2 getnumcolors
  • perlglue.xs

    rba6c8bd reede1bf  
    263263        {
    264264                owl_function_error("%s", text);
     265        }
     266
     267void
     268debug(text)
     269        char *text
     270        CODE:
     271        {
     272                owl_function_debugmsg("%s", text);
    265273        }
    266274
Note: See TracChangeset for help on using the changeset viewer.